Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
OnInitializeCameraRigEnd Event
Example 
Fired when the VRSimulator's camera initialization has completed.
Syntax
public event EventManager.InitializeCameraRigEndAction OnInitializeCameraRigEnd
Example
public class myClass : MonoBehaviour {
    void OnEnable() {
        EventManager.OnInitializeCameraRigEnd += myCustomListener;
    }
    
    void OnDisable() {
        EventManager.OnInitializeCameraRigEnd -= myCustomListener;
    }
    
    void myCustomListener() {
        // Custom listener logic goes here.
    }
}
See Also

Reference

EventManager Class
EventManager Members

 

 


Copyright (c) 2016-2017 Immerseum Inc. All rights reserved.

Send Feedback