public Attack(BotFSM _stateMachine, Enemy _enemy, Animator _animController, Weapon _weapon) { stateMachine = _stateMachine; enemy = _enemy; animController = _animController; weapon = _weapon; }
public Shoot(BotFSM _stateMachine, RangeWeapon _weapon, Animator _animController) { stateMachine = _stateMachine; weapon = _weapon; animController = _animController; }
private void Awake() { movementAI = GetComponent <MovementAI>(); botFSM = GetComponent <BotFSM>(); }
void Start() { botFSM = GetComponent <BotFSM>(); enemy = GetComponent <Enemy>(); }