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

Fires the OnPrimaryTriggerDeactivation 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 deactivatePrimaryTrigger( 
   InputAction inputAction
)

Parameters

inputAction
The InputAction where the primary trigger's activation was captured.
Example
// Deactivates the primary trigger using the togglePrimaryTrigger InputAction.
EventManager.deactivatePrimaryTrigger(togglePrimaryTrigger);
See Also

Reference

EventManager Class
EventManager Members

 

 


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

Send Feedback