Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
OnPositionController Event
Example 
Fired during initialization of the VRSimulator.
Syntax
public event EventManager.PositionControllerAction OnPositionController
Example
public class myClass : MonoBehaviour {
    void OnEnable() {
        EventManager.OnPositionController += myCustomListener;
    }
    
    void OnDisable() {
        EventManager.OnPositionController -= myCustomListener;
    }
    
    void myCustomListener(int controller, ControllerPositions targetPosition) {
        // Custom listener logic goes here.
    }
}
See Also

Reference

EventManager Class
EventManager Members

 

 


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

Send Feedback