bug fix
This commit is contained in:
@@ -25308,6 +25308,7 @@ MonoBehaviour:
|
||||
CameraOverrideController: {fileID: 22100000, guid: 2074a3b49810aed419168eda443b9e1a,
|
||||
type: 2}
|
||||
CurrentCameraAnimator: {fileID: 0}
|
||||
PreviewCamera: {fileID: 790387849}
|
||||
--- !u!1 &1566898429
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -979,6 +979,7 @@ public class UmaViewerBuilder : MonoBehaviour
|
||||
}
|
||||
else
|
||||
{
|
||||
CurrentUMAContainer.UmaAnimator.Rebind();
|
||||
CurrentUMAContainer.OverrideController["clip_1"] = CurrentUMAContainer.OverrideController["clip_2"];
|
||||
var lastTime = CurrentUMAContainer.UmaAnimator.GetCurrentAnimatorStateInfo(0).normalizedTime;
|
||||
CurrentUMAContainer.OverrideController["clip_2"] = clip;
|
||||
|
||||
Reference in New Issue
Block a user