Legacy Documentation: Version 2017.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EventType.MouseLeaveWindow

Description

Mouse left a window (Editor views only).

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答