Пример #1
0
            private void DrawSoundSetElement(Rect rect, int index, bool isActive, bool isFocused)
            {
                string textureName = soundsSets.GetPropertyOfIndex(index, "TextureName").stringValue;

                Object soundsSet = soundsSets.GetPropertyOfIndex(index, "soundsSet").objectReferenceValue;

                soundsSets.GetPropertyOfIndex(index, "soundsSet").objectReferenceValue =
                    EditorGUI.ObjectField(GUIArea.ProgressLine(ref rect), textureName, soundsSet, typeof(ControllerSoundStates), false);
            }