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