public void StartGame() { spawner.ResetWaves(); startScreen.SetActive(false); gamingScreen.SetActive(true); gameOver.SetActive(false); Time.timeScale = 1f; pointController.ResetPoints(); currentAirShip = ((GameObject)Instantiate(airshipPrefab, new Vector2(0, 0), Quaternion.identity)).GetComponent <Airship>(); currentPlayer = ((GameObject)Instantiate(playerPrefab, currentAirShip.GetPlayerStartLocation(), Quaternion.identity)).GetComponent <Player>(); gameState = GameState.Gaming; spawner.NextWave(); }