private void SceneManager_sceneLoaded(Scene scene, LoadSceneMode arg1) { if (scene.name == "Menu") { ReadPrefs(); try { GMPUI.CreateUI(); } catch (Exception ex) { Log(ex.ToString()); } } }
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(); } } }