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