public override void OnApplicationStart() { Instance = this; PlayerListConfig.RegisterSettings(); EntryManager.Init(); ListPositionManager.Init(); MenuManager.Init(); EntrySortManager.Init(); PlayerEntry.EntryInit(); LocalPlayerEntry.EntryInit(); MelonCoroutines.Start(StartUiManagerInitIEnumerator()); }
public override void OnSceneWasLoaded(int buildIndex, string sceneName) { if (buildIndex == -1) { if (Constants.quickMenuColliderSize != null) { Constants.quickMenuColliderSize = Constants.quickMenu.GetComponent <BoxCollider>().size; ListPositionManager.CombineQMColliderAndPlayerListRect(); } EntryManager.OnSceneWasLoaded(); UIManager.OnSceneWasLoaded(); } }