文档

Unity Engine

Unity Engine

MouseDrag

Mouse was dragged.
阅读时间1 分钟最后更新于 21 天前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UICommonModule
MouseDrag = 3

Remarks

The mouse was moved with a button held down - a mouse drag. Use Event.mousePosition and Event.delta to determine mouse motion.