GetMouseButtonUp(int)
Interface to Input.GetMouseButtonUp. Can be overridden to provide custom input instead of using the Input class.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public virtual bool GetMouseButtonUp(int button)
Parameters
The button id. Values are 0 for left button, 1 for right button, 2 for the middle button.
Returns
Type | Description |
|---|---|
| bool | Returns true during the frame the user releases the given mouse button. |