Class MediaContentDrawer
Property Drawer for MediaContent properties
Inherited Members
Namespace: Unity.Tutorials.Editor
Assembly: Unity.Tutorials.Editor.dll
Syntax
[CustomPropertyDrawer(typeof(MediaContent))]
public class MediaContentDrawer : PropertyDrawer
Methods
CreatePropertyGUI(SerializedProperty)
Create the UIElement for the given SerializedProperty
Declaration
public override VisualElement CreatePropertyGUI(SerializedProperty property)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedProperty | property | The SerializedProperty for which to create the elements |
Returns
| Type | Description |
|---|---|
| VisualElement | The root of the UIElements hierarchy created |