Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
activateSecondaryTrigger Method
Example 
The InputAction where the secondary trigger's activation was captured.

Fires the OnPrimaryTriggerActivation event.

Be Aware Be Aware

Listeners are expected to have a return type of void and to accept the same parameters as this method (see below).

Syntax
public static void activateSecondaryTrigger( 
   InputAction inputAction
)

Parameters

inputAction
The InputAction where the secondary trigger's activation was captured.
Example
// Activates the secondary trigger with the toggleSecondaryTrigger InputAction.
EventManager.activateSecondaryTrigger(toggleSecondaryTrigger);
See Also

Reference

EventManager Class
EventManager Members

 

 


Copyright (c) 2016-2017 Immerseum Inc. All rights reserved.

Send Feedback