Пример #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);
 }
Пример #2
0
 void Start()
 {
     bossFunctions = boss.GetComponent<RoboBoss> ();
 }