Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
getInputAction Method
Example 

A string with the name of the InputAction to return.

Returns the registered InputAction where InputAction.name matches the parameter string name.
Syntax
public static InputAction getInputAction( 
   string name
)

Parameters

name

A string with the name of the InputAction to return.

Return Value

If an InputAction with a matching InputAction.name exists within inputActionList, returns that InputAction.

Otherwise, returns null.

Example
Returns an InputAction named "myInputAction".
InputAction returnedAction = InputActionManager.getInputAction("myInputAction");
See Also

Reference

InputActionManager Class
InputActionManager Members
inputActionList

 

 


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

Send Feedback