Esempio n. 1
0
 void Awake()
 {
     //Get CharacterController
     tempMutantHealthBar = GameObject.Find("Canvas/HUD/EnemyInfoMutant").GetComponent <mutantHealthBar>();
     controller          = GetComponent <CharacterController>();
     animController      = GetComponent <Animator>();
     shootingEffect.Stop(true);
 }
 private void Awake()
 {
     tempMutantHealthBar = GameObject.Find("Canvas/HUD/EnemyInfoMutant").GetComponent <mutantHealthBar>();
 }