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