docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor DisplayNameAttribute

    DisplayNameAttribute(string, string)

    Specify a custom name to display in the Editor.

    Declaration
    public DisplayNameAttribute(string name, string iconPath = null)
    Parameters
    Type Name Description
    string name

    The name to display.

    string iconPath

    Optional icon to display when possible.

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