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