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

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