Immerseum.VRSimulator Namespace > EventManager Class : OnApplyColliderEnd Event |
public event EventManager.ApplyColliderEndAction OnApplyColliderEnd
public class myClass : MonoBehaviour { void OnEnable() { EventManager.OnApplyColliderEnd += myCustomListener; } void OnDisable() { EventManager.OnApplyColliderEnd -= myCustomListener; } void myCustomListener(int controller, bool removeCollider) { // Custom listener logic goes here. } }