diff --git a/spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonRenderer.cs b/spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonRenderer.cs index 23e186ba1..4de71b770 100644 --- a/spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonRenderer.cs +++ b/spine-unity/Assets/Spine/Runtime/spine-unity/Components/SkeletonRenderer.cs @@ -320,10 +320,12 @@ namespace Spine.Unity { } #endif + #if UNITY_EDITOR void OnEnable() { if (!Application.isPlaying) LateUpdate(); } + #endif void OnDisable () { if (clearStateOnDisable && valid)