private void Awake() { rb = GetComponent <Rigidbody2D>(); anim = GetComponent <Animator>(); shootingBehaviour = GetComponent <MinionShootingBehaviour>(); healthBehaviour = GetComponent <MinionHealthBehaviour>(); audioController = GetComponentInChildren <AudioController>(); }
private void Awake() { healthBehaviour = GetComponent <MinionHealthBehaviour>(); anim = GetComponent <Animator>(); audioController = GetComponentInChildren <AudioController>(); }