private void InitPlaybackOptionsUI() { _sliderPlayChanceJSON = new JSONStorableFloat("Play Chance", 1f, (float val) => { _activeCollection.PlayChance = val; }, 0f, 1f) { isStorable = false }; _rightUI.CreateSlider(_sliderPlayChanceJSON, 0.945f); _toggleOnlyIfClearJSON = new JSONStorableBool("Play Only If Clear", false, (bool val) => { _activeCollection.OnlyIfClear = val; }) { isStorable = false }; _rightUI.CreateToggle(_toggleOnlyIfClearJSON); _toggleAlwaysQueueJSON = new JSONStorableBool("Always Queue", false, (bool val) => { _activeCollection.AlwaysQueue = val; }) { isStorable = false }; _rightUI.CreateToggle(_toggleAlwaysQueueJSON); _toggleShuffleJSON = new JSONStorableBool("Shuffle Mode", true, (bool val) => { _activeCollection.ShuffleMode = val; }) { isStorable = false }; _rightUI.CreateToggle(_toggleShuffleJSON); }
private void InitDebugging() { _leftUI.CreateToggle(controller.DebugToggleJSON); }