Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
isKeyPressedAndHeld(KeyCode) Method
The Unity KeyCode to check for. Can also accept an array or comma-delimited list of Unity KeyCodes.
Indicates whether the key provided has been pressed this frame and then held throughout.
Syntax
public static bool isKeyPressedAndHeld( 
   KeyCode key
)

Parameters

key
The Unity KeyCode to check for. Can also accept an array or comma-delimited list of Unity KeyCodes.

Return Value

true if one or more of the keys indicated was pressed and held, false if not.
See Also

Reference

InputActionManager Class
InputActionManager Members
Overload List

 

 


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

Send Feedback