Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
activatePrimaryTrigger Method
Example 
The InputAction where the primary 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 activatePrimaryTrigger( 
   InputAction inputAction
)

Parameters

inputAction
The InputAction where the primary trigger's activation was captured.
Example
// Activates the primary trigger with the togglePrimaryTrigger InputAction.
EventManager.activatePrimaryTrigger(togglePrimaryTrigger);
See Also

Reference

EventManager Class
EventManager Members

 

 


Copyright (c) 2015 Immerseum Inc. All rights reserved.

Send Feedback