void Awake() { movementAI = GetComponent <MovementAI>(); botFSM = GetComponent <BotFSM>(); actionsAI = GetComponent <ActionsAI>(); triggerController = GetComponent <AITriggerController>(); }
public Kick(ActionsAI _actionsAI, BotFSM _stateMachine, Rigidbody2D _rb, AnimationsAI _animationsAI) { actionsAI = _actionsAI; stateMachine = _stateMachine; rb = _rb; animationsAI = _animationsAI; }
void Awake() { spawner = FindObjectOfType <AISpawner>(); movementAI = GetComponent <MovementAI>(); botFSM = GetComponent <BotFSM>(); actionsAI = GetComponent <ActionsAI>(); target = spawner.bola; }
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>(); }