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