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