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