Example #1
0
        public void OnEnable()
        {
            try
            {
                Logger.log.Debug("BeatFollower Enabled");
                ApplyHarmonyPatches();
                ConfigService.Initialize();
                _eventService.Initialize();
                _startup.AddButton();

                new GameObject("EndLevelUiCreator").AddComponent <EndLevelUiCreator>().plugin = this;
            }
            catch (Exception ex)
            {
                Logger.log.Error(ex);
            }
        }