Esempio n. 1
0
 void Start()
 {
     pEffects      = GetComponent <PlayerEffects>();
     safe          = false;
     dead          = false;
     currentHealth = maxHealth;
     feet          = GetComponent <FootstepAudio>();
     feet.UnmuteFeet();
 }
Esempio n. 2
0
 private void OnEnable()
 {
     pc   = GameObject.Find("Player").GetComponent <PlayerController>();
     fAud = pc.GetComponent <FootstepAudio>();
 }