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

    Class DecoratorAttribute

    Used for Drawing custom decorator property drawers.

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

    Constructors

    DecoratorAttribute(Type)

    Used for Drawing custom decorator property drawers.

    Declaration
    public DecoratorAttribute(Type attributeType)
    Parameters
    Type Name Description
    Type attributeType

    Fields

    attributeType

    Type of attribute decorator is being applied to.

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