Skip to content
GMIKE edited this page Mar 11, 2020 · 15 revisions

Сontent

Create

 //Throw exeption if state already exist
 State state1 = stateMachine.AddState("State1");

 //Return null if state already exist
 State state1 = stateMachine.TryAddState("State1", out bool result);
Clone this wiki locally