Method RemoveListener
RemoveListener<T>(WorldEvent, WorldSimulationEvent<T>)
Removes a callback from being triggered when the given world event is dispatched
Declaration
public void RemoveListener<T>(WorldEvent worldEvent, WorldSimulationEvent<T> cb)
Parameters
Type | Name | Description |
---|---|---|
WorldEvent | worldEvent | The world event associated with the listner |
WorldSimulationEvent<T> | cb | The removed callback |
Type Parameters
Name | Description |
---|---|
T | The expected data to be passed into the listner |
Implements
RemoveListener<T>(String, WorldSimulationEvent<T>)
Removes a callback from being triggered when the given world event is dispatched
Declaration
public void RemoveListener<T>(string worldEvent, WorldSimulationEvent<T> cb)
Parameters
Type | Name | Description |
---|---|---|
System.String | worldEvent | The world event associated with the listner |
WorldSimulationEvent<T> | cb | The removed callback |
Type Parameters
Name | Description |
---|---|
T | The expected data to be passed into the listner |