GetMouseButtonUp(int)
Interface to Input.GetMouseButtonUp. Can be overridden to provide custom input instead of using the Input class.
Read time 1 minuteLast updated 9 days ago
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. |