EditorGUI.TagField Manual     Reference     Scripting  
Scripting > Editor Classes > EditorGUI
EditorGUI.TagField

static function TagField (position : Rect, tag : string, style : GUIStyle = EditorStyles.popup) : string

static function TagField (position : Rect, label : string, tag : string, style : GUIStyle = EditorStyles.popup) : string

static function TagField (position : Rect, label : GUIContent, tag : string, style : GUIStyle = EditorStyles.popup) : string

Parameters

NameDescription
position Rectangle on the screen to use for the field.
label Optional label in front of the field.
tag The tag the field shows.
style Optional GUIStyle.

Returns

string - The tag selected by the user.

Description

Make a tag selection field.