Class SectionPropertyDrawer
PropertyDrawer for TutorialContainer.Section.
Inherited Members
Namespace: Unity.Tutorials.Editor
Assembly: Unity.Tutorials.Editor.dll
Syntax
[CustomPropertyDrawer(typeof(TutorialContainer.Section))]
public class SectionPropertyDrawer : PropertyDrawer
Methods
CreatePropertyGUI(SerializedProperty)
Creates the VisualElement representing the Tutorial Section.
Declaration
public override VisualElement CreatePropertyGUI(SerializedProperty property)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedProperty | property | The SerializedProperty that will be drawn. |
Returns
| Type | Description |
|---|---|
| VisualElement | The VisualElement that represents the control. |