Exemple #1
0
 public void OnApplicationStart()
 {
     BSEvents.OnLoad();
     BSEvents.lateMenuSceneLoadedFresh += InitAfterLoad;
     Patcher.Patch();
     PlatformUI.SetupMenuButtons();
 }
Exemple #2
0
 public void OnApplicationStart()
 {
     //Instance = this;
     BSEvents.OnLoad();
     SettingsUI.CreateMenu();
     BSEvents.menuSceneLoadedFresh += OnMenuSceneLoadedFresh;
 }
Exemple #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();
 }
Exemple #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());
        }
Exemple #5
0
 public void Construct([InjectOptional] BSEvents events)
 {
     _events = events;
 }