Beispiel #1
0
        public void setSelectedMarkersColourAndIcon(int colourIndex, int iconIndex)
        {
            SoundMarker selectedMarker = canvasDelegate.objectSelection.selectedMarker;

            if (selectedMarker == null)
            {
                return;
            }

            selectedMarker.SetIconColourAndIndex(colourIndex, iconIndex);

            soundAppearanceImage.sprite = selectedMarker.iconSprite;
            updateUIColor(selectedMarker.color);
        }