Class EventAttribute
Used to decorate event fields for advanced inspectors
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 |