Class TMP_TextAlignmentDrawer
Inherited Members
PropertyDrawer.CreatePropertyGUI(SerializedProperty)
PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
PropertyDrawer.attribute
PropertyDrawer.fieldInfo
Namespace: TMPro.EditorUtilities
Assembly: solution.dll
Syntax
[CustomPropertyDrawer(typeof(TextAlignmentOptions))]
public class TMP_TextAlignmentDrawer : PropertyDrawer
Methods
Name | Description |
---|---|
GetPropertyHeight(SerializedProperty, GUIContent) | Override this method to specify how tall the GUI for this field is in pixels. |
OnGUI(Rect, SerializedProperty, GUIContent) | Override this method to make your own IMGUI based GUI for the property. |