mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0
  • 指南
  • API 文档
  • API 文档

    Show / Hide Table of Contents

    Class SceneAssetReferenceAttributeDrawer

    Draws an object field as a scene asset reference. This enables fields to store references to scene assets (which is an editor-only object) as unity objects (which work in both editor and runtime)

    Inheritance
    Object
    SceneAssetReferenceAttributeDrawer
    Implements
    PropertyDrawer
    Namespace: Microsoft.MixedReality.Toolkit
    Assembly: cs.temp.dll.dll
    Syntax
    public class SceneAssetReferenceAttributeDrawer : PropertyDrawer, PropertyDrawer

    Methods

    OnGUI(Rect, SerializedProperty, GUIContent)

    Declaration
    public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
    Parameters
    Type Name Description
    Rect position
    SerializedProperty property
    GUIContent label

    OnGUI(Rect, SerializedProperty, GUIContent)

    Declaration
    public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
    Parameters
    Type Name Description
    Rect position
    SerializedProperty property
    GUIContent label

    Implements

    PropertyDrawer
    In This Article
    • Methods
      • OnGUI(Rect, SerializedProperty, GUIContent)
      • OnGUI(Rect, SerializedProperty, GUIContent)
    • Implements
    Back to top Generated by DocFX