Beispiel #1
0
 void Awake()
 {
     movementAI        = GetComponent <MovementAI>();
     botFSM            = GetComponent <BotFSM>();
     actionsAI         = GetComponent <ActionsAI>();
     triggerController = GetComponent <AITriggerController>();
 }
Beispiel #2
0
 public Kick(ActionsAI _actionsAI, BotFSM _stateMachine, Rigidbody2D _rb, AnimationsAI _animationsAI)
 {
     actionsAI    = _actionsAI;
     stateMachine = _stateMachine;
     rb           = _rb;
     animationsAI = _animationsAI;
 }
Beispiel #3
0
        void Awake()
        {
            spawner    = FindObjectOfType <AISpawner>();
            movementAI = GetComponent <MovementAI>();
            botFSM     = GetComponent <BotFSM>();
            actionsAI  = GetComponent <ActionsAI>();

            target = spawner.bola;
        }
Beispiel #4
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;
 }
 void Awake()
 {
     movementAI   = GetComponent <MovementAI>();
     actionsAI    = GetComponent <ActionsAI>();
     animationsAI = GetComponent <AnimationsAI>();
 }