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