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