diff --git a/Assets/Scripts/UmaViewerUI.cs b/Assets/Scripts/UmaViewerUI.cs index 74f704f..ffdd9f2 100644 --- a/Assets/Scripts/UmaViewerUI.cs +++ b/Assets/Scripts/UmaViewerUI.cs @@ -229,7 +229,7 @@ public class UmaViewerUI : MonoBehaviour { currentFaceDrivenKeyTarget = target; - foreach (UmaUIContainer ui in FacialList.GetComponentsInChildren()) + foreach (UmaUIContainer ui in FacialList.GetComponentsInChildren(true)) { Destroy(ui.gameObject); } diff --git a/Assets/Scripts/umamusume/Gallop/FaceDrivenKeyTarget.cs b/Assets/Scripts/umamusume/Gallop/FaceDrivenKeyTarget.cs index 6c9316d..3374a8b 100644 --- a/Assets/Scripts/umamusume/Gallop/FaceDrivenKeyTarget.cs +++ b/Assets/Scripts/umamusume/Gallop/FaceDrivenKeyTarget.cs @@ -319,6 +319,7 @@ namespace Gallop foreach (var trs in RotationRecorder) { trs.Key.transform.localRotation = RotationConvert.fromMaya(trs.Value); + var tmp = trs.Key.transform.localEulerAngles; } if (Container.EnablePhysics) {