Exemple #1
0
    private void Start()
    {
        playerHeath = GetComponent <PlayerHeathScript>();

        playSounds = GetComponent <PlaySounds>();

        donutCount = GetComponent <DonutCountScript>();

        playSounds.PlayRandomSound();
    }
Exemple #2
0
 void Start()
 {
     playerHeath             = GetComponent <PlayerHeathScript>();
     playerHeath.LivesEvent += PlayerHeath_LivesEvent;
 }
Exemple #3
0
 private void Start()
 {
     PlayerHealth = GameObject.Find("SpherePlayerObj").GetComponent <PlayerHeathScript>();
 }