public void ResetGame() { Destroy(blocksContainer.gameObject); Destroy(emitterContainer.gameObject); score = 0; startTime = Time.time; scoreText.text = "0"; Destroy(goal); player.ResetPlayer(); SetupGame(); }
public void ResetGame() { Destroy(blocksContainer.gameObject); Destroy(emitterContainer.gameObject); score = 0; startTime = Time.time; scoreText.text = "0"; Destroy(goal); player.ResetPlayer(); SetupGame(); }