diff --git a/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Components/SkeletonAnimationInspector.cs b/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Components/SkeletonAnimationInspector.cs index 427ba6226..c5fa5b9f2 100644 --- a/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Components/SkeletonAnimationInspector.cs +++ b/spine-unity/Assets/Spine/Editor/spine-unity/Editor/Components/SkeletonAnimationInspector.cs @@ -74,11 +74,11 @@ namespace Spine.Unity.Editor { EditorGUILayout.PropertyField(loop, LoopLabel); wasAnimationParameterChanged |= EditorGUI.EndChangeCheck(); // Value used in the next update. EditorGUILayout.PropertyField(timeScale, TimeScaleLabel); - EditorGUILayout.PropertyField(unscaledTime, UnscaledTimeLabel); foreach (var o in targets) { var component = o as SkeletonAnimation; component.timeScale = Mathf.Max(component.timeScale, 0); } + EditorGUILayout.PropertyField(unscaledTime, UnscaledTimeLabel); EditorGUILayout.Space(); SkeletonRootMotionParameter(); diff --git a/spine-unity/Assets/Spine/Runtime/spine-unity/ISkeletonAnimation.cs b/spine-unity/Assets/Spine/Runtime/spine-unity/ISkeletonAnimation.cs index 1448a8ee9..89a25c854 100644 --- a/spine-unity/Assets/Spine/Runtime/spine-unity/ISkeletonAnimation.cs +++ b/spine-unity/Assets/Spine/Runtime/spine-unity/ISkeletonAnimation.cs @@ -43,11 +43,6 @@ namespace Spine.Unity { InFixedUpdate } - public enum UpdateTimeScale { - GameTime = 0, - UnscaledGameTime - } - public delegate void ISkeletonAnimationDelegate (ISkeletonAnimation animated); public delegate void UpdateBonesDelegate (ISkeletonAnimation animated);