using Code.OfficeGame.BattleMode.Actions; using UnityEngine; namespace Code.Infrastructure.Utils { public static class AnimatorSnapshotExtensions { public static AnimatorSnapshot GetSnapshot(this Animator animator) { return AnimatorSnapshot.GetSnapshot(animator); } public static void RestoreSnapshot(this Animator animator, AnimatorSnapshot snapshot) { snapshot.RestoreTo(animator); } } }