예제 #1
0
파일: FSMTask.cs 프로젝트: h-sigma/rasm
 public void Awake(StateMachine owner, FSMState fsmState)
 {
     _owner  = owner;
     _parent = fsmState;
 }
예제 #2
0
 public void OnAfterDeserialize()
 {
     EntryState = GetState(entryState);
 }
예제 #3
0
 public abstract bool DoTransition(FSMState from);
예제 #4
0
 public void SetState(FSMState state)
 {
     CurrentState?.OnExit();
     CurrentState = state;
     CurrentState?.OnEnter();
 }