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

If default InputActions are enabled, fired when the default toggleLeftBumperInputAction has been received.

Be Aware Be Aware

The default InputAction configuration used by the VRSimulator assumes that the button is not toggle-able. This means this event will be fired each and every time the button is pressed, regardless of whether the button had been pressed before.

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