How do I remove/disable a proximity manager's onEnter/onExit callbacks?
When I registered a callback function for a proximity event [manager.onEnter(sensor,EnterProximity)], how can I later remove that callback, and how to disable/enable it?
Or is there another way to accomplish this using different registration of a proximity event?
|