Exemple #1
0
 private void Start()
 {
     shapeCh   = gameObject.GetComponent <ShapeChanger>();
     gameOver  = gameObject.GetComponent <GameOver>();
     points    = gameObject.GetComponent <Points>();
     sound     = GameObject.Find("SoundLily").GetComponent <SoundScripts>();
     move      = GameObject.Find("Player").GetComponent <Movement>();
     playMusic = true;
 }
Exemple #2
0
 void Start()
 {
     shape    = GameObject.Find("Player").GetComponent <ShapeChanger>();
     gameOver = GameObject.Find("Player").GetComponent <GameOver>();
     sound    = GameObject.Find("SoundLily").GetComponent <SoundScripts>();
 }