Editar

Share via


SystemTypeReferencePropertyDrawer Class

Definition

Custom property drawer for SystemType properties.

public ref class SystemTypeReferencePropertyDrawer : UnityEditor::PropertyDrawer
[UnityEditor.CustomPropertyDrawer(typeof(Microsoft.MixedReality.Toolkit.Utilities.SystemType))]
[UnityEditor.CustomPropertyDrawer(typeof(Microsoft.MixedReality.Toolkit.SystemTypeAttribute), true)]
public class SystemTypeReferencePropertyDrawer : UnityEditor.PropertyDrawer
[<UnityEditor.CustomPropertyDrawer(typeof(Microsoft.MixedReality.Toolkit.Utilities.SystemType))>]
[<UnityEditor.CustomPropertyDrawer(typeof(Microsoft.MixedReality.Toolkit.SystemTypeAttribute), true)>]
type SystemTypeReferencePropertyDrawer = class
    inherit PropertyDrawer
Public Class SystemTypeReferencePropertyDrawer
Inherits PropertyDrawer
Inheritance
UnityEditor.PropertyDrawer
SystemTypeReferencePropertyDrawer
Attributes
UnityEditor.CustomPropertyDrawerAttribute

Constructors

SystemTypeReferencePropertyDrawer()

Properties

ExcludedTypeCollectionGetter

Gets or sets a function that returns a collection of types that are to be excluded from drop-down. A value of null specifies that no types are to be excluded.

Methods

GetPropertyHeight(SerializedProperty, GUIContent)
OnGUI(Rect, SerializedProperty, GUIContent)

Applies to