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