文档

Unity Engine

Unity Engine

MouseLeaveWindow

Mouse left a window (Editor views only).
阅读时间1 分钟最后更新于 21 天前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UICommonModule
MouseLeaveWindow = 21

Remarks

The user moved the mouse out of a window without any buttons being held down. This event is sent once, as the mouse leaves the window.
Note that this event is only sent in the Editor for EditorWindow windows which have EditorWindow.wantsMouseEnterLeaveWindow set to true. Mouse enter or leave window events are never sent in the games.