Fixinprocess

This commit is contained in:
ThomasCharester committed 2026-11-02 01:46:10 +03:00
1 parent 0619ada74f
commit 921c4125b7
772 files changed
+154236 -144405

No files matched your search

@@ -14,5 +14,12 @@ namespace Code.Infrastructure.Utils
{
snapshot.RestoreTo(animator);
}
public static void ResetAnimatorPosition(this Animator animator)
{
animator.applyRootMotion = false;
animator.transform.localPosition = Vector3.zero;
animator.transform.localRotation = Quaternion.identity;
}
}
}