示例#1
0
        void Update()
        {
            SiblingFix();
#if SM_Il2Cpp
            if (MelonUtils.IsBONEWORKS)
            {
                BONEWORKS_SceneHandler.OnUpdate();
            }
#endif
            Main.Interface.Update();
        }
示例#2
0
 private static void OnSceneLoad(Scene scene, LoadSceneMode mode)
 {
     if (scene == null)
     {
         return;
     }
     if (MelonUtils.IsBONEWORKS)
     {
         BONEWORKS_SceneHandler.OnSceneLoad(scene.buildIndex, scene.name);
     }
     else
     {
         Interface.OnSceneWasLoaded(scene.buildIndex, scene.name);
     }
 }