Space
Space key.
Read time 1 minuteLast updated 5 days ago
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.