Search Results for

    Show / Hide Table of Contents

    Class OnEnableAttribute

    This function is called when the object becomes enabled and active. See unity doc's MonoBehaviour.OnEnable for reference.

    Inheritance
    Object
    Attribute
    ActionAttribute
    OnEventDoActionAttribute
    OnEnableAttribute
    Inherited Members
    OnEventDoActionAttribute.Event
    ActionAttribute.Action
    Namespace: nickmaltbie.StateMachineUnity.Attributes
    Assembly: cs.temp.dll.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public class OnEnableAttribute : OnEventDoActionAttribute

    Constructors

    OnEnableAttribute(String)

    This function is called when the object becomes enabled and active. See unity doc's MonoBehaviour.OnEnable for reference.

    Declaration
    public OnEnableAttribute(string action)
    Parameters
    Type Name Description
    String action
    In This Article
    Back to top State Machine Unity Documentation