private static void Prefix(ObstacleController __instance, ColorManager ____colorManager) { if (!(__instance is MultiplayerConnectedPlayerObstacleController)) { ObstacleColorizer.OCStart(__instance, ____colorManager.obstaclesColor); } }
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); } }
#pragma warning disable SA1313 // Parameter names should begin with lower-case letter private static void Prefix(ObstacleController __instance) #pragma warning restore SA1313 // Parameter names should begin with lower-case letter { ObstacleColorizer.OCStart(__instance); }
private static void Prefix(ObstacleController __instance, ColorManager ____colorManager) { ObstacleColorizer.OCStart(__instance, ____colorManager.obstaclesColor); }
private void RainbowWalls() { ObstacleColorizer.GlobalColorize(_gradientColor); }
private void RainbowWalls() { ObstacleColorizer.SetAllObstacleColors(_gradientColor); ObstacleColorizer.SetAllActiveColors(); }