TextAreaAttributeDrawer class

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


public TextAreaAttributeDrawer()


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)
UnityEngine.GUIContent label

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

Extension Methods

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.