void Update() { SiblingFix(); #if SM_Il2Cpp if (MelonUtils.IsBONEWORKS) { BONEWORKS_SceneHandler.OnUpdate(); } #endif Main.Interface.Update(); }
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); } }