文档

Unity Engine

Unity Engine

KeyUp

A keyboard key was released.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
KeyUp = 5

Remarks

Use Event.keyCode to find which physical key was released. Note that depending on the system and keyboard layout, Event.character might not contain any character for a key release event.