 | EventManagerRegisterListener Method (EventManagerEventDelegate) |
Registers the specified delegate for all events. Note that the
delegate will be called twice if it is registered for a specific
event type as well. Listeners for all events are always notified
before listeners for specific events.
Namespace: Slash.ECS.EventsAssembly: Slash.ECS (in Slash.ECS.dll) Version: 1.0.6018.40178
Syntaxpublic void RegisterListener(
EventManagerEventDelegate callback
)
Public Sub RegisterListener (
callback As EventManagerEventDelegate
)
public:
void RegisterListener(
EventManagerEventDelegate^ callback
)
member RegisterListener :
callback : EventManagerEventDelegate -> unit
Parameters
- callback
- Type: Slash.ECS.EventsEventManagerEventDelegate
Delegate to invoke when specified type occurred.
Exceptions
See Also