Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
OnInitializeHMDSimulator Event
Example 
Fired during the VRSimulator's initialization.
Syntax
public event EventManager.InitializeHMDSimulatorAction OnInitializeHMDSimulator
Example
public class myClass : MonoBehaviour {
    void OnEnable() {
        EventManager.OnInitializeHMDSimulator += myCustomListener;
    }
    
    void OnDisable() {
        EventManager.OnInitializeHMDSimulator -= 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