This commit is contained in:
CroakFang
2023-01-15 22:11:31 +08:00
parent ed6b068380
commit 3b18268252
4 changed files with 43 additions and 13 deletions
+5
View File
@@ -1223,6 +1223,11 @@ public class UmaViewerBuilder : MonoBehaviour
{
RecursiveLoadAsset(facialMotion);
}
var earMotion = Main.AbMotions.FirstOrDefault(a => a.Name.EndsWith(clip.name + "_ear"));
if (earMotion != null)
{
RecursiveLoadAsset(earMotion);
}
CurrentUMAContainer.UmaAnimator.Play("motion_1", 0, lastTime);
CurrentUMAContainer.UmaAnimator.SetTrigger("next");