// TODO: setup the basic game loop public void StartGame() { timer = spawnTime; playerInstance = Instantiate(playerPrefab); playerInstance.Init(this, inGameScreen.speedUpButton, inGameScreen.slowDownButton); gameOn = true; inGameScreen.Show(); }
private void OnGameStarted() { _inGameScreen.Show(); }