docs.unity3d.com
    显示 / 隐藏目录

    Class DisplayNameAttribute

    Attribute used to set a custom display name in a property decorator.

    Inheritance
    Object
    Attribute
    DisplayNameAttribute
    Namespace: Unity.MARS
    Syntax
    [AttributeUsage(AttributeTargets.Field)]
    public sealed class DisplayNameAttribute : Attribute, _Attribute

    Constructors

    DisplayNameAttribute(String)

    Attribute used to set a custom display name in a property decorator.

    Declaration
    public DisplayNameAttribute(string displayName)
    Parameters
    Type Name Description
    String displayName

    The display name to be used in a property decorator.

    Fields

    displayName

    The display name to be used in a property decorator.

    Declaration
    public readonly string displayName
    Field Value
    Type Description
    String
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)