public void OnApplicationStart() { BSEvents.OnLoad(); BSEvents.lateMenuSceneLoadedFresh += InitAfterLoad; Patcher.Patch(); PlatformUI.SetupMenuButtons(); }
public void OnApplicationStart() { //Instance = this; BSEvents.OnLoad(); SettingsUI.CreateMenu(); BSEvents.menuSceneLoadedFresh += OnMenuSceneLoadedFresh; }
public void OnApplicationStart() { Instance = this; BSEvents.OnLoad(); BSEvents.menuSceneLoadedFresh += OnMenuSceneLoadedFresh; config = new Config("Custom Platforms"); HarmonyPatches.Patcher.Patch(); Stuff_That_Doesnt_Belong_Here_But_Has_To_Be_Here_Because_Bsml_Isnt_Half_As_Stable_Yet_As_CustomUI_Was_But_CustomUI_Has_Been_Killed_Already(); }
public void OnApplicationStart() { //Instance = this; BSEvents.OnLoad(); BSEvents.menuSceneLoadedFresh += OnMenuSceneLoadedFresh; HarmonyInstance hi = HarmonyInstance.Create("com.rolopogo.customplatforms"); hi.PatchAll(System.Reflection.Assembly.GetExecutingAssembly()); }
public void Construct([InjectOptional] BSEvents events) { _events = events; }