ドキュメント

Unity Engine

Unity Engine

MouseMove

Mouse was moved (Editor views only).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.IMGUIModule
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.