Space
Space key.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
Space = 32
Remarks
Keyboard code for the Space key, used in Input.GetKeyDown and Input.GetKeyUp. It can also be used as a string for Event.KeyboardEvent by adding .
.ToString()Examples for both usage types can be found on the KeyCode page.