AnimationStateMachine.RestoreSnapshot(AnimationStateMachineSnapshot) Method
Restores runtime state from a previously captured AnimationStateMachineSnapshot. Does not fire OnStateChanged, OnStateEnter(string, Action<string>), or OnStateExit(string, Action<string>). Pair with RestorePlaybackSnapshot(AnimatorPlaybackSnapshot) to perform a full animation restore.
public void RestoreSnapshot(Brine2D.Animation.AnimationStateMachineSnapshot snapshot);
Parameters¶
snapshot AnimationStateMachineSnapshot