Beispiel #1
0
 public void OnGameCompleted()
 {
     try {
         HostBridge.Call(new WinGame());
         HostBridge.hostWinGame();
     } catch (EntryPointNotFoundException) {
         Debug.Log("Game won, but no host found so moving to next level");
         SceneManager.LoadScene(SceneManager.GetActiveScene().buildIndex + 1);
     }
 }