Immerseum SDK: VR Simulator (version: BETA-0.9)
       [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) 2015 Immerseum Inc. All rights reserved.

Send Feedback