Search Results for

    Show / Hide Table of Contents

    Class OnDisableAttribute

    This function is called when the behaviour becomes disabled. See unity doc's MonoBehaviour.OnDisable for reference.

    Inheritance
    Object
    Attribute
    ActionAttribute
    OnEventDoActionAttribute
    OnDisableAttribute
    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 OnDisableAttribute : OnEventDoActionAttribute

    Constructors

    OnDisableAttribute(String)

    This function is called when the behaviour becomes disabled. See unity doc's MonoBehaviour.OnDisable for reference.

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