Exemplo n.º 1
0
        public override void OnApplicationStart()
        {
            Instance = this;
            PlayerListConfig.RegisterSettings();
            EntryManager.Init();
            ListPositionManager.Init();
            MenuManager.Init();
            EntrySortManager.Init();
            PlayerEntry.EntryInit();
            LocalPlayerEntry.EntryInit();

            MelonCoroutines.Start(StartUiManagerInitIEnumerator());
        }
Exemplo n.º 2
0
        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();
            }
        }