UnityEditor.NetworkManagerEditor.ChannelDrawChild C# (CSharp) Method

ChannelDrawChild() private method

private ChannelDrawChild ( Rect r, int index, bool isActive, bool isFocused ) : void
r UnityEngine.Rect
index int
isActive bool
isFocused bool
return void
        internal void ChannelDrawChild(Rect r, int index, bool isActive, bool isFocused)
        {
            QosType enumValueIndex = (QosType) this.m_ChannelListProperty.GetArrayElementAtIndex(index).enumValueIndex;
            QosType type2 = (QosType) EditorGUI.EnumPopup(r, "Channel #" + index, enumValueIndex);
            if (type2 != enumValueIndex)
            {
                this.m_ChannelListProperty.GetArrayElementAtIndex(index).enumValueIndex = (int) type2;
            }
        }