Documentation

Unity Engine

Download Unity

Unity Engine

WebGLInput

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.
Read time 1 minuteLast updated 2 days ago

Definition

public sealed class WebGLInput

Static Properties

Property

Description

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