void Start() { Text myText = GetComponent <Text> (); myText.text = ScroreKeeper.score.ToString(); ScroreKeeper.Reset(); }
void Start() { scoreKeeper = GameObject.Find("Score").GetComponent <ScroreKeeper>(); enemySpawner = GameObject.FindObjectOfType <EnemySpawner>(); }