Immerseum.VRSimulator Namespace > EventManager Class : OnRightThumbstickClickDeactivation Event |
If default InputActions are enabled, fired when the default toggleRightThumbstickClickInputAction has been received and InputActionManager.isRightThumbstickClickActivated is true.
public event EventManager.RightThumbstickClickDeactivation OnRightThumbstickClickDeactivation
public class myClass : MonoBehaviour { void OnEnable() { EventManager.OnRightThumbstickClickDeactivation += myCustomListener; } void OnDisable() { EventManager.OnRightThumbstickClickDeactivation -= myCustomListener; } void myCustomListener() { // Custom listener logic goes here. } }