Пример #1
0
        public void FreqCutoffSliderChanged(float newVal)
        {
            if (canvasDelegate == null)
            {
                return;
            }
            SoundMarker selectedMarker = canvasDelegate.objectSelection.selectedMarker;

            if (selectedMarker == null && selectedMarker.hotspot != null)
            {
                return;
            }

            selectedMarker.SetFrequencyCutoff(newVal);
        }