ドキュメント

Unity Engine

Unity Engine

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.