public void Lose() { trail.Reset(); plane.Reset(); timer.Reset(); score.Reset(); globalColor = Color.black; ChangeColor(); }
public void GameReset() { controller.Reset(); DestroyObject(spawner); spawner = Instantiate(SpawnerPrefab); spawner.transform.position = Vector3.zero; spawner.SetActive(true); }