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

    Class EventAttribute

    Used to decorate event fields for advanced inspectors

    Inheritance
    Object
    Attribute
    EventAttribute
    Namespace: Unity.MARS.Attributes
    Syntax
    public sealed class EventAttribute : Attribute, _Attribute

    Constructors

    EventAttribute(Type)

    Initialize a new EventAttribute

    Declaration
    public EventAttribute(Type type)
    Parameters
    Type Name Description
    Type type

    The type of the decorated field

    Fields

    type

    The field type

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