docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor PropertyAttribute

    PropertyAttribute(string)

    Constructs a property attribute with the name passed as argument.

    Declaration
    public PropertyAttribute(string name = null)
    Parameters
    Type Name Description
    string name

    Name that is to be used for the property.

    Remarks

    By default the type name is used for display purposes. Alternatively, an override name can be passed to the property attribute constructor.

    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)