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