Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [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) 2016-2017 Immerseum Inc. All rights reserved.

Send Feedback