public void PhaserSliderChanged(float newVal) { if (canvasDelegate == null) { return; } SoundMarker selectedMarker = canvasDelegate.objectSelection.selectedMarker; if (selectedMarker == null && selectedMarker.hotspot != null) { return; } selectedMarker.SetPhaserLevel(newVal); }