void Awake() { playerHealth = GetComponent<PlayerHealth> (); anim = GetComponent<Animator> (); gunBarrelEnd = GetComponentInChildren<GunBarrelEnd> (); }
void Awake() { playerHealth = GetComponent <PlayerHealth> (); anim = GetComponent <Animator> (); gunBarrelEnd = GetComponentInChildren <GunBarrelEnd> (); }