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