docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetDisplayTitle

    GetDisplayTitle()

    Sets the label for the component header. Override this method to provide a custom label. If you don't, Unity automatically obtains one from the class name.

    Declaration
    public virtual GUIContent GetDisplayTitle()
    Returns
    Type Description
    GUIContent

    A label to display in the component header.

    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)