コード例 #1
0
 private void SceneManager_sceneLoaded(Scene scene, LoadSceneMode arg1)
 {
     if (scene.name == "Menu")
     {
         ReadPrefs();
         try
         {
             GMPUI.CreateUI();
         }
         catch (Exception ex)
         {
             Log(ex.ToString());
         }
     }
 }
コード例 #2
0
 public void OnSceneLoaded(Scene scene, LoadSceneMode arg1)
 {
     if (scene.name == "MenuCore")
     {
         ReadPrefs();
         try
         {
             GMPUI.CreateUI();
         }
         catch (Exception ex)
         {
             Log(ex.ToString());
         }
         if (multiInstalled)
         {
             Multiplayer.MultiClientInterface.Init();
         }
     }
 }