예제 #1
0
 public void Update()
 {
     if (deathLevel > player.position.y)
     {
         levelEnd.Show(() => SceneManager.LoadScene(SceneManager.GetActiveScene().name), "Fall to your death...\nRestart?");
     }
 }