Class StyleDrawer
docs.unity.cn
    Show / Hide Table of Contents

    Class StyleDrawer

    Inheritance
    Object
    StyleDrawer
    Namespace: TMPro.EditorUtilities
    Syntax
    public class StyleDrawer : PropertyDrawer

    Fields

    height

    Declaration
    public static readonly float height
    Field Value
    Type Description
    Single

    Methods

    GetPropertyHeight(SerializedProperty, GUIContent)

    Declaration
    public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
    Parameters
    Type Name Description
    SerializedProperty property
    GUIContent label
    Returns
    Type Description
    Single

    OnGUI(Rect, SerializedProperty, GUIContent)

    Declaration
    public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
    Parameters
    Type Name Description
    Rect position
    SerializedProperty property
    GUIContent label
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX