AnimationStateMachineSnapshot(float, string, string, string, bool) Constructor
Definition¶
Namespace: Brine2D.Animation
Immutable snapshot of AnimationStateMachine runtime state. Use with CaptureSnapshot() and RestoreSnapshot(AnimationStateMachineSnapshot) for save/load and rollback systems.
public AnimationStateMachineSnapshot(float StateTimer, string? PreviousState, string? CurrentStateName, string? DefaultState, bool IsEnabled);
Parameters¶
StateTimer System.Single
PreviousState System.String
CurrentStateName System.String
DefaultState System.String
IsEnabled System.Boolean