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