Redigera

Dela via


PrefabPropertyDrawer Class

Definition

Custom property drawer for PrefabAttribute decorated GameObject values rendered in the inspector.

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

Constructors

PrefabPropertyDrawer()

Methods

OnGUI(Rect, SerializedProperty, GUIContent)

Applies to