InputMapperRemoveEventListeners Method |
Removes the event listener(s) from all events.
You can pass the object that contains the target delegates
to unsubscribe all delegates in that object from all events.
For example, if your class MyClass subscribes to several events,
you can pass the MyClass object into this method to remove all of
its listeners. Example: mapper.RemoveEventListeners(this);
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void RemoveEventListeners(
Object listenerOrParent
)
Parameters
- listenerOrParent
- Type: SystemObject
The event listener to remove from all events. This can be either the containing class object or the delegate.
See Also