Search Results for

    Show / Hide Table of Contents

    Class OnEventDoActionAttribute

    Basic attribute that maps an event to an action.

    Inheritance
    Object
    Attribute
    ActionAttribute
    OnEventDoActionAttribute
    OnAnimatorIKAttribute
    OnDisableAttribute
    OnEnableAttribute
    OnFixedUpdateAttribute
    OnGUIAttribute
    OnLateUpdateAttribute
    OnUpdateAttribute
    Inherited Members
    ActionAttribute.Action
    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
    In This Article
    Back to top State Machine Unity Documentation