UnityEditor.EditorGUILayout.TagField C# (CSharp) Method

TagField() public static method

Make a tag selection field.

public static TagField ( GUIContent label, string tag ) : string
label UnityEngine.GUIContent Optional label in front of the field.
tag string The tag the field shows.
return string
        public static string TagField(GUIContent label, string tag, params GUILayoutOption[] options)
        {
            return TagField(label, tag, EditorStyles.popup, options);
        }

Same methods

EditorGUILayout::TagField ( GUIContent label, string tag, GUIStyle style ) : string
EditorGUILayout::TagField ( string tag ) : string
EditorGUILayout::TagField ( string tag, GUIStyle style ) : string
EditorGUILayout::TagField ( string label, string tag ) : string
EditorGUILayout::TagField ( string label, string tag, GUIStyle style ) : string