public void SetSelectedSoundToNextIcon() { if (selMarker == null) { return; } selMarker.SetToNextIcon(); }
public void SoundIconButtonClicked() { // Just cycle through soundIcons for now if (canvasDelegate == null) { return; } SoundMarker selectedSound = canvasDelegate.objectSelection.selectedMarker; if (selectedSound == null) { return; } // Change the 3D representation selectedSound.SetToNextIcon(); // Change the 2D UI representation soundIconImage.sprite = selectedSound.iconSprite; }