public void OnEnable() { _harmonyInstanceCore.PatchAll(Assembly.GetExecutingAssembly()); GameplaySetup.instance.AddTab("Chroma", "Chroma.Settings.modifiers.bsml", ChromaSettingsUI.instance); if (ChromaConfig.Instance.LightshowMenu) { GameplaySetup.instance.AddTab("Lightshow Modifiers", "Chroma.Settings.lightshow.bsml", ChromaSettingsUI.instance); } ChromaUtils.SetSongCoreCapability(REQUIREMENTNAME, ChromaConfig.Instance.CustomColorEventsEnabled); SceneManager.activeSceneChanged += ChromaController.OnActiveSceneChanged; // Legacy support ChromaUtils.SetSongCoreCapability("Chroma Lighting Events"); if (ChromaUtils.IsModInstalled("NoodleExtensions")) { AnimationHelper.SubscribeColorEvents(); NoodleExtensionsInstalled = true; } else { NoodleExtensionsInstalled = false; } }