Version 3.3.1.2

TextAreaAttributeDrawer class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
public class TextAreaAttributeDrawer : OdinAttributeDrawer<TextAreaAttribute, string>
TextArea attribute drawer.
Inheritance

Constructors

TextAreaAttributeDrawer()
public TextAreaAttributeDrawer()

Methods

DrawPropertyLayout(GUIContent)
Draws the property in the Rect provided. This method does not support the GUILayout, and is only called by DrawPropertyImplementation if the GUICallType is set to Rect, which is not the default. If the GUICallType is set to Rect, both GetRectHeight and DrawPropertyRect needs to be implemented. If the GUICallType is set to GUILayout, implementing DrawPropertyLayout will suffice.
protected override void DrawPropertyLayout(GUIContent label)
Parameters
UnityEngine.GUIContent label

The label. This can be null, so make sure your drawer supports that.

Extension Methods