WebGLInput

class in UnityEngine

/

Implemented in:UnityEngine.WebGLModule

Description

WebGLInput provides support for WebGL specific functionalities. Important: Browsers only allow sensor input in secure contexts, which means you must use HTTPS except during development where you might use http://localhost.

Static Properties

captureAllKeyboardInputCapture all keyboard inputs.
mobileKeyboardSupportEnable mobile keyboard support for UI input fields.
stickyCursorLockSet cursor lock behavior to be "sticky" or "unsticky".

Did you find this page useful? Please give it a rating: