示例#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());
        }
示例#5
0
 public void Construct([InjectOptional] BSEvents events)
 {
     _events = events;
 }