Editar

Share via


TagPropertyDrawer Class

Definition

Draws a Unity Tag selector in the Inspector.

public ref class TagPropertyDrawer : UnityEditor::PropertyDrawer
[UnityEditor.CustomPropertyDrawer(typeof(Microsoft.MixedReality.Toolkit.TagPropertyAttribute))]
public class TagPropertyDrawer : UnityEditor.PropertyDrawer
[<UnityEditor.CustomPropertyDrawer(typeof(Microsoft.MixedReality.Toolkit.TagPropertyAttribute))>]
type TagPropertyDrawer = class
    inherit PropertyDrawer
Public Class TagPropertyDrawer
Inherits PropertyDrawer
Inheritance
UnityEditor.PropertyDrawer
TagPropertyDrawer
Attributes
UnityEditor.CustomPropertyDrawerAttribute

Examples

[TagProperty]
public string FindTag;

Constructors

TagPropertyDrawer()

Methods

OnGUI(Rect, SerializedProperty, GUIContent)

Override this method to make your own GUI for the property.

Applies to