Ejemplo n.º 1
0
 public void onLeaveButtonClicked()
 {
     if (!ReferenceEquals(app, null))
     {
         app.leave();        // leave channel
         app.unloadEngine(); // delete engine
         app = null;         // delete app
         SceneManager.LoadScene(HomeSceneName, LoadSceneMode.Single);
     }
     Destroy(gameObject);
 }
Ejemplo n.º 2
0
 private void onLeaveButtonClicked()
 {
     if (!ReferenceEquals(app, null))
     {
         app.leave();            // leave channel
         app.unloadEngine();     // delete engine
         app = null;             // delete app
         SceneManager.LoadScene("TestSceneHome", LoadSceneMode.Single);
     }
 }
Ejemplo n.º 3
0
 private void onLeaveButtonClicked()
 {
     GlobalParameters.IsBusy = true;
     if (!ReferenceEquals(app, null))
     {
         app.leave();            // leave channel
         app.unloadEngine();     // delete engine
         app = null;             // delete app
     }
 }