Class FaqEntryDrawer
PropertyDrawer for FaqEntry.
Inherited Members
Namespace: Unity.Tutorials.Editor
Assembly: Unity.Tutorials.Editor.dll
Syntax
[CustomPropertyDrawer(typeof(FaqEntry))]
public class FaqEntryDrawer : PropertyDrawer
Methods
CreatePropertyGUI(SerializedProperty)
Creates the VisualElement representing the FAQ item.
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. |