private void Start() { playerHeath = GetComponent <PlayerHeathScript>(); playSounds = GetComponent <PlaySounds>(); donutCount = GetComponent <DonutCountScript>(); playSounds.PlayRandomSound(); }
void Start() { playerHeath = GetComponent <PlayerHeathScript>(); playerHeath.LivesEvent += PlayerHeath_LivesEvent; }
private void Start() { PlayerHealth = GameObject.Find("SpherePlayerObj").GetComponent <PlayerHeathScript>(); }