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