docs.unity3d.com
    Show / Hide Table of Contents

    Class TMP_SpriteGlyphPropertyDrawer

    Inheritance
    System.Object
    UnityEditor.GUIDrawer
    UnityEditor.PropertyDrawer
    TMP_SpriteGlyphPropertyDrawer
    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_SpriteGlyph))]
    public class TMP_SpriteGlyphPropertyDrawer : 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)
    Back to top
    Copyright © 2025 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 02 April 2025