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