Version: 2022.3

WebGLInput

class in UnityEngine

切换到手册

描述

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.

静态变量

captureAllKeyboardInput捕捉所有键盘输入。
mobileKeyboardSupportEnable mobile keyboard support for UI input fields.