UnityEditor.TagManagerInspector.DrawTagListElement C# (CSharp) Method

DrawTagListElement() private method

private DrawTagListElement ( Rect rect, int index, bool selected, bool focused ) : void
rect UnityEngine.Rect
index int
selected bool
focused bool
return void
        private void DrawTagListElement(Rect rect, int index, bool selected, bool focused)
        {
            rect.height -= 2f;
            rect.xMin -= 20f;
            string stringValue = this.m_Tags.GetArrayElementAtIndex(index).stringValue;
            if (string.IsNullOrEmpty(stringValue))
            {
                stringValue = "(Removed)";
            }
            EditorGUI.LabelField(rect, " Tag " + index, stringValue);
        }