private static void Prefix(NoteController noteController) { if (!(noteController is MultiplayerConnectedPlayerNoteController)) { NoteColorizer.EnableNoteColorOverride(noteController); } }
private static void Prefix(ColorNoteVisuals __instance, NoteController noteController) { if (!(noteController is MultiplayerConnectedPlayerNoteController)) { NoteColorizer.CNVStart(__instance, noteController); } }
internal static void OnActiveSceneChanged(Scene current, Scene _) { if (current.name == "GameCore") { LightColorizer.ClearLSEColorManagers(); ObstacleColorizer.ClearOCColorManagers(); BombColorizer.ClearBNCColorManagers(); NoteColorizer.ClearCNVColorManagers(); SaberColorizer.ClearBSMColorManagers(); } }
#pragma warning disable SA1313 // Parameter names should begin with lower-case letter internal static void OnActiveSceneChanged(Scene current, Scene _) #pragma warning restore SA1313 // Parameter names should begin with lower-case letter { if (current.name == "GameCore") { LightColorizer.ClearLSEColorManagers(); ObstacleColorizer.ClearOCColorManagers(); BombColorizer.ClearBNCColorManagers(); NoteColorizer.ClearCNVColorManagers(); SaberColorizer.ClearBSMColorManagers(); } }
internal static void OnActiveSceneChanged(Scene current, Scene _) { if (current.name == "GameCore") { BombColorizer.Reset(); LightColorizer.Reset(); NoteColorizer.Reset(); ObstacleColorizer.Reset(); SaberColorizer.Reset(); TrackLaneRingsManagerAwake.RingManagers.Clear(); } }
internal static void OnActiveSceneChanged(Scene prevScene, Scene current) { if (current.name == "GameCore") { LightColorizer.ClearLSEColorManagers(); ObstacleColorizer.ClearOCColorManagers(); BombColorizer.ClearBNCColorManagers(); NoteColorizer.ClearCNVColorManagers(); SaberColorizer.ClearBSMColorManagers(); } if (current.name == "MenuViewControllers" && ChromaConfig.Instance.HueEnabled == true) { HueManager.Disconnect(LightInfo.client); } if (current.name == "EmptyTransition" && prevScene.name == "MenuViewControllers" && ChromaConfig.Instance.HueEnabled == true) { hueCts.Cancel(); hueCts = new System.Threading.CancellationTokenSource(); HueManager.connect(hueCts.Token); } }
private static void Postfix() { NoteColorizer.DisableNoteColorOverride(); }
private static void Prefix(NoteController noteController) { NoteColorizer.EnableNoteColorOverride(noteController); }
private static void Prefix(ColorNoteVisuals __instance, NoteController noteController) { NoteColorizer.CNVStart(__instance, noteController); }
#pragma warning disable SA1313 // Parameter names should begin with lower-case letter private static void Prefix(NoteController noteController) #pragma warning restore SA1313 // Parameter names should begin with lower-case letter { NoteColorizer.EnableNoteColorOverride(noteController); }
#pragma warning disable SA1313 // Parameter names should begin with lower-case letter private static void Prefix(ColorNoteVisuals __instance, NoteController noteController) #pragma warning restore SA1313 // Parameter names should begin with lower-case letter { NoteColorizer.CNVStart(__instance, noteController); }
private void RainbowNotes() { NoteColorizer.GlobalColorize(_gradientLeftColor, ColorType.ColorA); NoteColorizer.GlobalColorize(_gradientRightColor, ColorType.ColorB); }
private void RainbowNotes() { NoteColorizer.SetAllNoteColors(_gradientLeftColor, _gradientRightColor); NoteColorizer.SetAllActiveColors(); }