Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
isKeyClicked Method
Please Note Please Note
Can also accept an array or comma-delimited list of Unity KeyCodes. Will return true if one or more of the keys was clicked.
Overload List
OverloadDescription
isKeyClicked(KeyCode)

Indicates whether the key indicated has been clicked (pushed down and released within the same frame).

Be careful! It is very rare for a key to actually be clicked since it is very hard to push down and release a key in the space of one frame. You might want to consider isKeyPressed instead.
 
isKeyClicked(KeyCode[])  
See Also

Reference

InputActionManager Class
InputActionManager Members

 

 


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

Send Feedback