Click or drag to resize

UnityEventCommandBaseTBehaviour Class

Base class for a command that monitors a specific mono behaviour to trigger itself.
Inheritance Hierarchy
SystemObject
  UnityEngineObject
    UnityEngineComponent
      UnityEngineBehaviour
        UnityEngineMonoBehaviour
          Slash.Unity.DataBind.Foundation.CommandsCommand
            Slash.Unity.DataBind.UI.Unity.CommandsUnityEventCommandBaseTBehaviour
              Slash.Unity.DataBind.UI.Unity.CommandsUnityEventCommandTBehaviour
              Slash.Unity.DataBind.UI.Unity.CommandsUnityEventCommandTBehaviour, TEventData
              Slash.Unity.DataBind.UI.Unity.CommandsUnityEventCommandTBehaviour, TEventData1, TEventData2

Namespace:  Slash.Unity.DataBind.UI.Unity.Commands
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public abstract class UnityEventCommandBase<TBehaviour> : Command
where TBehaviour : MonoBehaviour

Type Parameters

TBehaviour
Type of mono behaviour this command monitors.

The UnityEventCommandBaseTBehaviour type exposes the following members.

Constructors
  NameDescription
Protected methodUnityEventCommandBaseTBehaviour
Initializes a new instance of the UnityEventCommandBaseTBehaviour class
Top
Methods
  NameDescription
Protected methodAwake
Unity callback.
(Overrides CommandAwake.)
Protected methodOnDisable
Unity callback.
Protected methodOnEnable
Unity callback.
Protected methodOnEvent
Called when the observed event occured.
Protected methodRegisterListeners
Called when the command should add listeners to the specified target to be informed when about an event that would trigger the command.
Protected methodRemoveListeners
Called when the command should remove its listeners from the specified target.
Protected methodReset
Unity callback.
Top
Fields
  NameDescription
Public fieldTarget
Target to work with.
Top
See Also