void Start() { enemyManager = GameObject.FindGameObjectWithTag("EnemyManager"); foreach (Transform child in enemyManager.transform) { timeRemaining++; } pplToSave = (int)timeRemaining; timeRemaining *= timePerEnemy; countText.text = timeRemaining.ToString(); pplCountText.text = pplCountText.ToString(); }
void Start() { countDownText.text = countdown.ToString(); waveIndex.text = "Wave: " + waveIndex.ToString(); }
private void Awake() { txt.ToString(); story = txt.text; txt.text = ""; }