Example #1
0
 void Leave()
 {
     canvas.GetComponent <Canvas>().enabled = false;
     player.Unpause();
     car.Unpause();
     SceneManager.LoadScene("SampleScene");
 }