Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

WebGLInput.captureAllKeyboardInput

public static bool captureAllKeyboardInput;

Description

Capture all keyboard inputs.

This property determines whether keyboard inputs are captured by WebGL. If this is enabled (default), all inputs will be received by the WebGL canvas regardless of focus, and other elements in the webpage will not receive keyboard inputs. You need to disable this property if you need inputs to be received by other html input elements.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答