Class TMP_SpriteCharacterPropertyDrawer
Inheritance
System.Object
UnityEditor.GUIDrawer
UnityEditor.PropertyDrawer
TMP_SpriteCharacterPropertyDrawer
Inherited Members
UnityEditor.PropertyDrawer.CreatePropertyGUI(UnityEditor.SerializedProperty)
UnityEditor.PropertyDrawer.CanCacheInspectorGUI(UnityEditor.SerializedProperty)
UnityEditor.PropertyDrawer.attribute
UnityEditor.PropertyDrawer.fieldInfo
UnityEditor.PropertyDrawer.preferredLabel
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: TMPro.EditorUtilities
Syntax
[CustomPropertyDrawer(typeof(TMP_SpriteCharacter))]
public class TMP_SpriteCharacterPropertyDrawer : PropertyDrawer
Methods
GetPropertyHeight(SerializedProperty, GUIContent)
Declaration
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
UnityEditor.SerializedProperty | property | |
UnityEngine.GUIContent | label |
Returns
Type | Description |
---|---|
System.Single |
Overrides
UnityEditor.PropertyDrawer.GetPropertyHeight(UnityEditor.SerializedProperty, UnityEngine.GUIContent)
OnGUI(Rect, SerializedProperty, GUIContent)
Declaration
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Rect | position | |
UnityEditor.SerializedProperty | property | |
UnityEngine.GUIContent | label |
Overrides
UnityEditor.PropertyDrawer.OnGUI(UnityEngine.Rect, UnityEditor.SerializedProperty, UnityEngine.GUIContent)