wrap GetShowDebugDrawOptions() with USE_EDITOR preprocessor

This commit is contained in:
Saas
2026-03-19 18:25:00 +01:00
parent 699fb12604
commit d77e1e9a53
@@ -440,6 +440,7 @@ public:
API_FUNCTION() bool IsPlayingSlotAnimation(const StringView& slotName, Animation* anim = nullptr);
private:
#if USE_EDITOR
/// <summary>
/// Used to hide <paramref name="ShowDebugDrawSkeleton"/> options if when the skinned model or animation graph is null.
/// </summary>
@@ -447,6 +448,7 @@ private:
{
return SkinnedModel != nullptr && AnimationGraph != nullptr;
}
#endif
void ApplyRootMotion(const Transform& rootMotionDelta);
void SyncParameters();