예제 #1
0
 public void OnApplicationStart()
 {
     BSEvents.OnLoad();
     BSEvents.lateMenuSceneLoadedFresh += InitAfterLoad;
     Patcher.Patch();
     PlatformUI.SetupMenuButtons();
 }
예제 #2
0
 public void OnApplicationStart()
 {
     //Instance = this;
     BSEvents.OnLoad();
     SettingsUI.CreateMenu();
     BSEvents.menuSceneLoadedFresh += OnMenuSceneLoadedFresh;
 }
예제 #3
0
 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();
 }
예제 #4
0
        public void OnApplicationStart()
        {
            //Instance = this;
            BSEvents.OnLoad();
            BSEvents.menuSceneLoadedFresh += OnMenuSceneLoadedFresh;

            HarmonyInstance hi = HarmonyInstance.Create("com.rolopogo.customplatforms");

            hi.PatchAll(System.Reflection.Assembly.GetExecutingAssembly());
        }