docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method PropertyField

    PropertyField(SerializedDataParameter)

    Draws a given SerializedDataParameter in the editor.

    Declaration
    protected bool PropertyField(SerializedDataParameter property)
    Parameters
    Type Name Description
    SerializedDataParameter property

    The property to draw in the editor

    Returns
    Type Description
    bool

    true if the property field has been rendered

    PropertyField(SerializedDataParameter, GUIContent)

    Draws a given SerializedDataParameter in the editor using a custom label and tooltip.

    Declaration
    protected bool PropertyField(SerializedDataParameter property, GUIContent title)
    Parameters
    Type Name Description
    SerializedDataParameter property

    The property to draw in the editor.

    GUIContent title

    A custom label and/or tooltip.

    Returns
    Type Description
    bool

    true if the property field has been rendered

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)