Documentation

Unity Engine


User Manual

Script Reference

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 4 days ago

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.WebGLModule
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".