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