Exemple #1
0
 void Awake()
 {
     movementAI        = GetComponent <MovementAI>();
     botFSM            = GetComponent <BotFSM>();
     actionsAI         = GetComponent <ActionsAI>();
     triggerController = GetComponent <AITriggerController>();
 }
Exemple #2
0
 void Awake()
 {
     movementAI = GetComponent <MovementAI>();
     botFSM     = GetComponent <BotFSM>();
     //botFSM.SetBotFSM(movementAI);
     coletaveis = aiSpawner.wayPointsForAI;
 }
 public Kick(ActionsAI _actionsAI, BotFSM _stateMachine, Rigidbody2D _rb, AnimationsAI _animationsAI)
 {
     actionsAI    = _actionsAI;
     stateMachine = _stateMachine;
     rb           = _rb;
     animationsAI = _animationsAI;
 }
Exemple #4
0
        void Awake()
        {
            spawner    = FindObjectOfType <AISpawner>();
            movementAI = GetComponent <MovementAI>();
            botFSM     = GetComponent <BotFSM>();
            actionsAI  = GetComponent <ActionsAI>();

            target = spawner.bola;
        }
Exemple #5
0
 public None(MovementAI _moveAI, BotFSM _stateMachine)
 {
     movementAI   = _moveAI;
     stateMachine = _stateMachine;
 }
 public Stop(MovementAI _moveAI, BotFSM _stateMachine, AnimationsAI _animationsAI)
 {
     movementAI   = _moveAI;
     stateMachine = _stateMachine;
     animationsAI = _animationsAI;
 }
Exemple #7
0
 public TouchBall(ActionsAI _actionsAI, BotFSM _stateMachine, Rigidbody2D _rb)
 {
     actionsAI    = _actionsAI;
     stateMachine = _stateMachine;
     rb           = _rb;
 }
 public KickPlayer(ActionsAI _actionsAI, BotFSM _stateMachine, NewPlayerMovent _playerMovement)
 {
     actionsAI      = _actionsAI;
     stateMachine   = _stateMachine;
     playerMovement = _playerMovement;
 }
 public Stun(BotFSM _stateMachine)
 {
     stateMachine = _stateMachine;
 }