文档

Unity Engine

Unity Engine

MouseEnterWindow

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

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UICommonModule
MouseEnterWindow = 20

Remarks

The user hovered the mouse over a window without any buttons being held down. This event is sent once, as the mouse enters 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.