 | UnityEventCommandTBehaviour, TEventDataOnEvent Method |
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.
Namespace:
Slash.Unity.DataBind.UI.Unity.Commands
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxprotected virtual void OnEvent(
TEventData eventData
)
Protected Overridable Sub OnEvent (
eventData As TEventData
)
protected:
virtual void OnEvent(
TEventData eventData
)
abstract OnEvent :
eventData : 'TEventData -> unit
override OnEvent :
eventData : 'TEventData -> unit
Parameters
- eventData
- Type: TEventData
Data send with the event.
See Also