Esempio n. 1
0
 public void Awake(StateMachine owner, FSMState fsmState)
 {
     _owner  = owner;
     _parent = fsmState;
 }
Esempio n. 2
0
 public void OnAfterDeserialize()
 {
     EntryState = GetState(entryState);
 }
Esempio n. 3
0
 public abstract bool DoTransition(FSMState from);
Esempio n. 4
0
 public void SetState(FSMState state)
 {
     CurrentState?.OnExit();
     CurrentState = state;
     CurrentState?.OnEnter();
 }