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

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

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