Esempio n. 1
0
 void Start()
 {
     boss = GameObject.FindWithTag ("Boss").GetComponent<RoboBoss>();
     score = 0;
     playerboss = GameObject.FindWithTag ("Player").GetComponent<PlayerMove>();
     score = PlayerPrefs.GetInt("Score");
     referenceScore.text = string.Format (formatScore, score);
 }
Esempio n. 2
0
 void Start()
 {
     bossFunctions = boss.GetComponent<RoboBoss> ();
 }