public void StartButtonClick() { startButton.SetActive(false); currentGameState = GameState.playing; playerCom.rb.gravityScale = 2; enemySpawn.StartCoroutine(enemySpawn.InsEnemy()); cloudSpawn.StartCoroutine(cloudSpawn.InsCloud()); }
public void StartButtonClick() { startButton.SetActive(false); currentGameState = GameState.playing; playerCom.rb.gravityScale = 2; enemySpawn.StartCoroutine(enemySpawn.InsEnemy()); cloudSpawn.StartCoroutine(cloudSpawn.InsCloud()); }