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

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

Syntax
public event EventManager.LeftThumbstickClickActivation OnLeftThumbstickClickActivation
Example
public class myClass : MonoBehaviour {
    void OnEnable() {
        EventManager.OnLeftThumbstickClickActivation += myCustomListener;
    }
    
    void OnDisable() {
        EventManager.OnLeftThumbstickClickActivation -= 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