Fired at the conclusion of the
OnApplyCollider event, when a
collider has been applied/removed from a simulated controller.
Syntax
public event EventManager.ApplyColliderEndAction OnApplyColliderEnd
A sample listener for the OnApplyColliderEnd event.
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.
}
}