SceneAssetReferenceAttributeDrawer Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
public ref class SceneAssetReferenceAttributeDrawer : UnityEditor::PropertyDrawer
[UnityEditor.CustomPropertyDrawer(typeof(Microsoft.MixedReality.Toolkit.SceneAssetReferenceAttribute))]
public class SceneAssetReferenceAttributeDrawer : UnityEditor.PropertyDrawer
[<UnityEditor.CustomPropertyDrawer(typeof(Microsoft.MixedReality.Toolkit.SceneAssetReferenceAttribute))>]
type SceneAssetReferenceAttributeDrawer = class
inherit PropertyDrawer
Public Class SceneAssetReferenceAttributeDrawer
Inherits PropertyDrawer
- Inheritance
-
UnityEditor.PropertyDrawerSceneAssetReferenceAttributeDrawer
- Attributes
-
UnityEditor.CustomPropertyDrawerAttribute
Constructors
SceneAssetReferenceAttributeDrawer() |
Methods
OnGUI(Rect, SerializedProperty, GUIContent) |