Ejemplo n.º 1
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();
            }
        }
Ejemplo n.º 2
0
        public override void OnSceneWasLoaded(int buildIndex, string sceneName)
        {
            if (buildIndex != -1)
            {
                return;
            }

            if (MelonHandler.Mods.Any(mod => mod.Info.Name == "emmVRCLoader"))
            {
                typeof(EmmManager).GetMethod("OnSceneWasLoaded").Invoke(null, null);
            }

            MenuManager.OnSceneWasLoaded();
            Constants.OnSceneWasLoaded();
            EntryManager.OnSceneWasLoaded();
        }