void Awake() { movementAI = GetComponent <MovementAI>(); botFSM = GetComponent <BotFSM>(); actionsAI = GetComponent <ActionsAI>(); triggerController = GetComponent <AITriggerController>(); }
void Awake() { movementAI = GetComponent <MovementAI>(); botFSM = GetComponent <BotFSM>(); //botFSM.SetBotFSM(movementAI); coletaveis = aiSpawner.wayPointsForAI; }
void Awake() { spawner = FindObjectOfType <AISpawner>(); movementAI = GetComponent <MovementAI>(); botFSM = GetComponent <BotFSM>(); actionsAI = GetComponent <ActionsAI>(); target = spawner.bola; }
public void Idle(MovementAI _movementAI) { if (stopState == null) { stopState = new Stop(movementAI, this, animationsAI); } if (stateHorizontal != States.Idle) { SetState01(stopState); stateHorizontal = States.Idle; } }
public None(MovementAI _moveAI, BotFSM _stateMachine) { movementAI = _moveAI; stateMachine = _stateMachine; }
public Stop(MovementAI _moveAI, BotFSM _stateMachine, AnimationsAI _animationsAI) { movementAI = _moveAI; stateMachine = _stateMachine; animationsAI = _animationsAI; }
void Awake() { movementAI = GetComponent <MovementAI>(); actionsAI = GetComponent <ActionsAI>(); animationsAI = GetComponent <AnimationsAI>(); }