Class OnEventDoActionAttribute
Basic attribute that maps an event to an action.
Inheritance
OnEventDoActionAttribute
Inherited Members
Namespace: nickmaltbie.StateMachineUnity.Attributes
Assembly: cs.temp.dll.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class OnEventDoActionAttribute : ActionAttribute
Constructors
OnEventDoActionAttribute(Type, String)
Constructs a new instance of Action attribute for a given action.
Declaration
public OnEventDoActionAttribute(Type evt, string action)
Parameters
Type | Name | Description |
---|---|---|
Type | evt | Event to wait for in order to execute action. |
String | action | Action to associate with this attribute. |
Properties
Event
Event to wait for in order to execute an action.
Declaration
public Type Event { get; }
Property Value
Type | Description |
---|---|
Type |