You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Throw exeption if state already existStatestate1=stateMachine.AddState("State1");//Return null if state already existStatestate1=stateMachine.TryAddState("State1",outboolresult);
Get
//Throw exeption if state not foundStatestate1=stateMachine.GetState("State1");//Return null if state not foundStatestate1=stateMachine.TryGetState("State1",outboolresult);
Delete
Delete with name
//Throw exeption if state not foundstateMachine.DeleteState("State1");stateMachine.TryDeleteState("State1");
Delete with object
//Throw exeption if state not foundstateMachine.DeleteState(state1);stateMachine.TryDeleteState(state1);//Throw exeption if state already delete from state machinestate1.Delete();state1.TryDelete(outboolresult);