 | GameEventBehaviourRegisterListener Method |
Registers for the specified event at any future FreudBot games that might start.
Namespace: Slash.Unity.Common.ECSAssembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntaxprotected void RegisterListener(
Object eventType,
EventManagerEventDelegate callback
)
Protected Sub RegisterListener (
eventType As Object,
callback As EventManagerEventDelegate
)
protected:
void RegisterListener(
Object^ eventType,
EventManagerEventDelegate^ callback
)
member RegisterListener :
eventType : Object *
callback : EventManagerEventDelegate -> unit
Parameters
- eventType
- Type: SystemObject
Type of the event to register for. - callback
- Type: Slash.ECS.EventsEventManagerEventDelegate
Method to call when the event is raised.
See Also