Click or drag to resize

UnityEventCommandTBehaviour, TEventData Methods

The UnityEventCommandTBehaviour, TEventData generic type exposes the following members.

Methods
  NameDescription
Protected methodGetEvent
Returns the event from the specified target to observe.
Protected methodGetEvents
Returns the events from the specified target to observe.
Protected methodOnEvent
Called when an the event on the target occurred that this command is listening to. By default this will invoke the command with the received event data, but derived commands may modify the event data first.
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.
(Overrides UnityEventCommandBaseTBehaviourRegisterListeners(TBehaviour).)
Protected methodRemoveListeners
Called when the command should remove its listeners from the specified target.
(Overrides UnityEventCommandBaseTBehaviourRemoveListeners(TBehaviour).)
Top
See Also