This commit is contained in:
CroakFang
2022-11-03 22:45:20 +08:00
2 changed files with 2 additions and 25 deletions
+1 -1
View File
@@ -974,7 +974,7 @@ public class UmaViewerBuilder : MonoBehaviour
var lastTime = CurrentUMAContainer.UmaAnimator.GetCurrentAnimatorStateInfo(0).normalizedTime;
CurrentUMAContainer.OverrideController["clip_2"] = clip;
// If Cut-in, play immediately without state interpolation
if (clip.name.Contains("crd"))
if (clip.name.Contains("crd") || clip.name.Contains("res_chr"))
{
var facialMotion = Main.AbMotions.FirstOrDefault(a => a.Name.EndsWith(clip.name + "_face"));
var cameraMotion = Main.AbMotions.FirstOrDefault(a => a.Name.EndsWith(clip.name + "_cam"));