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