![]() | UnityEventCommandTBehaviour, TEventData Methods |
The UnityEventCommandTBehaviour, TEventData generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | GetEvent |
Returns the event from the specified target to observe.
|
![]() | GetEvents |
Returns the events from the specified target to observe.
|
![]() | OnEvent |
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.
|
![]() | RegisterListeners |
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).) |
![]() | RemoveListeners |
Called when the command should remove its listeners from the specified target.
(Overrides UnityEventCommandBaseTBehaviourRemoveListeners(TBehaviour).) |