mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
[unity] Minor cleanup.
This commit is contained in:
parent
bd7f7eb181
commit
cf654d3768
@ -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();
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user