MouseMove
Mouse was moved (Editor views only).
阅读时间1 分钟最后更新于 20 天前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.UICommonModule
MouseMove = 2
Remarks
The mouse was moved without any buttons being held down. Use Event.mousePosition and Event.delta to determine mouse motion.
Note that this event is only sent in the Editor for EditorWindow windows which have EditorWindow.wantsMouseMove set to true. Mouse move events are never sent in the games.