UnityEditor.AudioMixerExposedParameterView.DrawElement C# (CSharp) Method

DrawElement() private method

private DrawElement ( Rect rect, int index, bool isActive, bool isFocused ) : void
rect UnityEngine.Rect
index int
isActive bool
isFocused bool
return void
        private void DrawElement(Rect rect, int index, bool isActive, bool isFocused)
        {
            Event current = Event.current;
            if ((current.type == EventType.ContextClick) && rect.Contains(current.mousePosition))
            {
                this.OnContextClick(index);
                current.Use();
            }
            if (Event.current.type == EventType.Repaint)
            {
                using (new EditorGUI.DisabledScope(true))
                {
                    this.m_ReorderableListWithRenameAndScrollView.elementStyleRightAligned.Draw(rect, this.GetInfoString(index), false, false, false, false);
                }
            }
        }