public void Start() { if (AIMode == EAIMode.Hand || Owner.IsDead()) { return; } IState <Actor, EAIState> initState = this.AIStateMachine.GetState(AIState); IState <Actor, EAIState> globalState = this.AIStateMachine.GetState(EAIState.AI_GLOBAL); this.AIStateMachine.SetCurrState(initState); this.AIStateMachine.SetGlobalState(globalState); AIStateMachine.Start(); }