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 |
|---|---|
| captureAllKeyboardInput | Capture all keyboard inputs. |
| mobileKeyboardSupport | Enable mobile keyboard support for UI input fields. |
| stickyCursorLock | Set cursor lock behavior to be "sticky" or "unsticky". |