bug fix
This commit is contained in:
@@ -14,9 +14,9 @@ AnimatorStateTransition:
|
|||||||
m_Mute: 0
|
m_Mute: 0
|
||||||
m_IsExit: 0
|
m_IsExit: 0
|
||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TransitionDuration: 0.2
|
m_TransitionDuration: 0.4294904
|
||||||
m_TransitionOffset: 0
|
m_TransitionOffset: 0
|
||||||
m_ExitTime: 1
|
m_ExitTime: 0.77050966
|
||||||
m_HasExitTime: 1
|
m_HasExitTime: 1
|
||||||
m_HasFixedDuration: 1
|
m_HasFixedDuration: 1
|
||||||
m_InterruptionSource: 0
|
m_InterruptionSource: 0
|
||||||
@@ -177,13 +177,13 @@ AnimatorStateMachine:
|
|||||||
m_ChildStates:
|
m_ChildStates:
|
||||||
- serializedVersion: 1
|
- serializedVersion: 1
|
||||||
m_State: {fileID: -1046042063806159501}
|
m_State: {fileID: -1046042063806159501}
|
||||||
m_Position: {x: 190, y: 220, z: 0}
|
m_Position: {x: 310, y: 230, z: 0}
|
||||||
- serializedVersion: 1
|
- serializedVersion: 1
|
||||||
m_State: {fileID: -3716543570628925844}
|
m_State: {fileID: -3716543570628925844}
|
||||||
m_Position: {x: 310, y: 110, z: 0}
|
m_Position: {x: 310, y: 110, z: 0}
|
||||||
- serializedVersion: 1
|
- serializedVersion: 1
|
||||||
m_State: {fileID: -1569566867637420955}
|
m_State: {fileID: -1569566867637420955}
|
||||||
m_Position: {x: 660, y: 220, z: 0}
|
m_Position: {x: 560, y: 230, z: 0}
|
||||||
- serializedVersion: 1
|
- serializedVersion: 1
|
||||||
m_State: {fileID: 3046527319765726241}
|
m_State: {fileID: 3046527319765726241}
|
||||||
m_Position: {x: 560, y: 110, z: 0}
|
m_Position: {x: 560, y: 110, z: 0}
|
||||||
|
|||||||
@@ -893,7 +893,7 @@ public class UmaViewerBuilder : MonoBehaviour
|
|||||||
CurrentUMAContainer.OverrideController["clip_1"] = CurrentUMAContainer.OverrideController["clip_2"];
|
CurrentUMAContainer.OverrideController["clip_1"] = CurrentUMAContainer.OverrideController["clip_2"];
|
||||||
CurrentUMAContainer.OverrideController["clip_2"] = clip;
|
CurrentUMAContainer.OverrideController["clip_2"] = clip;
|
||||||
|
|
||||||
CurrentUMAContainer.UmaAnimator.Play("motion_1", 0, lastTime);
|
CurrentUMAContainer.UmaAnimator.Play("motion_1", -1);
|
||||||
CurrentUMAContainer.UmaAnimator.SetTrigger(needTransit ? "next_s" : "next");
|
CurrentUMAContainer.UmaAnimator.SetTrigger(needTransit ? "next_s" : "next");
|
||||||
}
|
}
|
||||||
else if(clip.name.EndsWith("_S"))
|
else if(clip.name.EndsWith("_S"))
|
||||||
|
|||||||
Reference in New Issue
Block a user