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