Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
OnRightThumbstickClickActivation Event
Example 

If default InputActions are enabled, fired when the default toggleRightThumbstickClickInputAction has been received and InputActionManager.isRightThumbstickClickActivated is false.

Syntax
public event EventManager.RightThumbstickClickActivation OnRightThumbstickClickActivation
Example
public class myClass : MonoBehaviour {
    void OnEnable() {
        EventManager.OnRightThumbstickClickActivation += myCustomListener;
    }
    
    void OnDisable() {
        EventManager.OnRightThumbstickClickActivation -= myCustomListener;
    }
    
    void myCustomListener() {
        // Custom listener logic goes here.
    }
}
See Also

Reference

EventManager Class
EventManager Members

 

 


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

Send Feedback