Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
OnYawRotationStart Event
Example 
If default InputActions are enabled, then this event fires whenever the yawRotationInputAction ceases to be at rest.
Syntax
public event EventManager.YawRotationStartAction OnYawRotationStart
Example
public class myClass : MonoBehaviour {
    void OnEnable() {
        EventManager.OnYawRotationStart += myCustomListener;
    }
    
    void OnDisable() {
        EventManager.OnYawRotationStart -= myCustomListener;
    }
    
    void myCustomListener(InputAction action) {
        // Custom listener logic goes here.
    }
}
See Also

Reference

EventManager Class
EventManager Members

 

 


Copyright (c) 2015 Immerseum Inc. All rights reserved.

Send Feedback