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

If default InputActions are enabled, fired when the default toggleSecondaryTriggerInputAction has been received and MovementManager.isSecondaryTriggerInUse is true.

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