StateMachine<TState>.

StateMachine(TState) Constructor

Summary

Creates a new Animancer.FSM.StateMachine`1 and immediately enters the `state`.
Assembly
Animancer.dll
Namespace
Animancer.FSM
Containing Type
StateMachine<TState>

Syntax

public StateMachine(TState state)

Remarks

This calls Animancer.FSM.IState.OnEnterState but not Animancer.FSM.IState.CanEnterState.

Parameters

Name Type Description
state TState

Return Value

Type Description
void