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