Exemplo 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);
 }
Exemplo n.º 2
0
 void Start()
 {
     bossFunctions = boss.GetComponent<RoboBoss> ();
 }