Skip to content

AnimationStateMachine.ForceState(string, bool) Method

Definition

Namespace: Brine2D.Animation

Imperatively drives the state machine to the named animation.

public Brine2D.Animation.AnimationStateMachine ForceState(string animationName, bool restart=false);

Parameters

animationName System.String

restart System.Boolean

Returns

AnimationStateMachine