public void UpdateBlueNote()
 {
     BeatSaberSongContainer.Instance.difficultyData.colorRight = blueNote.color = picker.CurrentColor.WithAlpha(1);
     noteAppearance.UpdateColor(redNote.color, blueNote.color);
     BeatmapObjectContainerCollection.GetCollectionForType(BeatmapObject.Type.NOTE).RefreshPool(true);
     CustomColorsUpdatedEvent?.Invoke();
 }
 public void ResetObstacles()
 {
     BeatSaberSongContainer.Instance.difficultyData.obstacleColor = null;
     obstacleAppearance.defaultObstacleColor = obstacle.color = platform.defaultColors.ObstacleColor;
     BeatmapObjectContainerCollection.GetCollectionForType(BeatmapObject.Type.OBSTACLE).RefreshPool(true);
     CustomColorsUpdatedEvent?.Invoke();
 }
 public void ResetNotes()
 {
     BeatSaberSongContainer.Instance.difficultyData.colorLeft  = null;
     BeatSaberSongContainer.Instance.difficultyData.colorRight = null;
     blueNote.color = platform.defaultColors.BlueNoteColor.WithAlpha(1);
     redNote.color  = platform.defaultColors.RedNoteColor.WithAlpha(1);
     noteAppearance.UpdateColor(redNote.color, blueNote.color);
     BeatmapObjectContainerCollection.GetCollectionForType(BeatmapObject.Type.NOTE).RefreshPool(true);
     CustomColorsUpdatedEvent?.Invoke();
 }
    public void ResetLights()
    {
        BeatSaberSongContainer.Instance.difficultyData.envColorLeft = null;
        redLight.color = eventAppearance.RedColor = platform.colors.RedColor = platform.defaultColors.RedColor;

        BeatSaberSongContainer.Instance.difficultyData.envColorRight = null;
        blueLight.color = eventAppearance.BlueColor = platform.colors.BlueColor = platform.defaultColors.BlueColor;

        BeatSaberSongContainer.Instance.difficultyData.boostColorLeft = null;
        redBoost.color = eventAppearance.RedBoostColor = platform.colors.RedBoostColor = platform.defaultColors.RedBoostColor;

        BeatSaberSongContainer.Instance.difficultyData.boostColorRight = null;
        blueBoost.color = eventAppearance.BlueBoostColor = platform.colors.BlueBoostColor = platform.defaultColors.BlueBoostColor;

        BeatmapObjectContainerCollection.GetCollectionForType(BeatmapObject.Type.EVENT).RefreshPool(true);
        CustomColorsUpdatedEvent?.Invoke();
    }
 public void UpdateRedBoost()
 {
     BeatSaberSongContainer.Instance.difficultyData.boostColorLeft = redBoost.color = eventAppearance.RedBoostColor = platform.colors.RedBoostColor = picker.CurrentColor.WithAlpha(1);
     CustomColorsUpdatedEvent?.Invoke();
 }
 public void UpdateBlueLight()
 {
     BeatSaberSongContainer.Instance.difficultyData.envColorRight = eventAppearance.BlueColor = platform.colors.BlueColor = blueLight.color = picker.CurrentColor.WithAlpha(1);
     BeatmapObjectContainerCollection.GetCollectionForType(BeatmapObject.Type.EVENT).RefreshPool(true);
     CustomColorsUpdatedEvent?.Invoke();
 }
 public void UpdateObstacles()
 {
     BeatSaberSongContainer.Instance.difficultyData.obstacleColor = obstacle.color = obstacleAppearance.defaultObstacleColor = picker.CurrentColor.WithAlpha(1);
     BeatmapObjectContainerCollection.GetCollectionForType(BeatmapObject.Type.OBSTACLE).RefreshPool(true);
     CustomColorsUpdatedEvent?.Invoke();
 }