Method OnNotify
OnNotify(Playable, INotification, object)
Called when a notification is sent.
Declaration
public void OnNotify(Playable origin, INotification notification, object context)
Parameters
Type | Name | Description |
---|---|---|
Playable | origin | The playable that sent the notification. |
INotification | notification | The received notification. Only notifications of type SignalEmitter will be processed. |
object | context | User defined data that depends on the type of notification. Uses this to pass necessary information that can change with each invocation. |