Immerseum SDK: VR Simulator (version: BETA-0.9)
       [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) 2015 Immerseum Inc. All rights reserved.

Send Feedback