Example #1
0
 private void Load()
 {
     Configuration.Load();
     SaberAssetLoader.LoadCustomSabers();
     SettingsUI.CreateMenu();
     Logger.log.Info($"{PluginName} v.{PluginVersion} has started.");
 }
 public NsvAppInstaller(Logger logger, PluginConfig config)
 {
     _logger = logger;
     _config = config;
     PluginConfig.Instance = config;
     SettingsUI.CreateMenu();
 }
Example #3
0
        private void Load()
        {
            Configuration.Load();
            SettingsUI.CreateMenu();
            AddEvents();

            Logger.log.Info($"{PluginName} v.{PluginVersion} has started.");
        }
Example #4
0
        private void Load()
        {
            Configuration.Load();
            TransparentWallPatches.ApplyHarmonyPatches();
            SettingsUI.CreateMenu();
            AddEvents();

            Logger.Log.Info($"{PluginName} v.{PluginVersion} has started.");
        }
Example #5
0
 private void Load()
 {
     ApplyHarmonyPatches();
     Configuration.Load();
     SaberAssetLoader.Load();
     SettingsUI.CreateMenu();
     AddEvents();
     Logger.log.Info($"{PluginName} v.{PluginVersion} has started.");
 }
Example #6
0
 public void OnApplicationStart()
 {
     Settings.Init();
     SettingsUI.CreateMenu();
     GameplaySetup.instance.AddTab("Video", "MusicVideoPlayer.UI.Views.video-menu.bsml", VideoMenu.instance);
     BSEvents.OnLoad();
     BSEvents.lateMenuSceneLoadedFresh += OnMenuSceneLoadedFresh;
     // BSEvents.menuSceneLoaded += OnMenuSceneLoaded;
     // BSEvents.menuSceneActive += OnMenuSceneLoaded;
     // BSEvents.gameSceneLoaded += OnMenuSceneLoaded;
     Base64Sprites.ConvertToSprites();
 }
Example #7
0
 public void OnEnable()
 {
     SettingsUI.CreateMenu();
     log.Info("Settings have been created");
 }
Example #8
0
 public void OnStart()
 {
     TrickSaberPlugin.Create();
     SettingsUI.CreateMenu();
     BSEvents.gameSceneLoaded += GameplayManager.OnGameSceneLoaded;
 }
Example #9
0
 private void Load() // called when the application starts
 {
     SettingsUI.CreateMenu();
     settings.Configuration.Load();
 }