文档

Unity Engine

Unity Engine

Mouse0

The Left (or primary) mouse button.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
Mouse0 = 323

Remarks

Use this to detect left mouse button presses. The “0” mouse button is the main button on the user’s mouse, which is usually the left mouse button.