Class LocalizableTextAreaAttributePropertyDrawer
PropertyDrawer for LocalizableTextAreaAttribute
Inheritance
LocalizableTextAreaAttributePropertyDrawer
Inherited Members
Namespace: Unity.Tutorials.Editor
Assembly: Unity.Tutorials.Editor.dll
Syntax
[CustomPropertyDrawer(typeof(LocalizableTextAreaAttribute))]
public class LocalizableTextAreaAttributePropertyDrawer : LocalizableStringPropertyDrawer
Methods
CreatePropertyGUI(SerializedProperty)
Creates custom GUI with UI Toolkit for the property.
Declaration
public override VisualElement CreatePropertyGUI(SerializedProperty property)
Parameters
| Type | Name | Description |
|---|---|---|
| SerializedProperty | property | The SerializedProperty to make the custom GUI for. |
Returns
| Type | Description |
|---|---|
| VisualElement | The element containing the custom GUI. |