| Parameter | Description |
|---|---|
| button | The button id. Values are 0 for left button, 1 for right button, 2 for the middle button. |
bool Returns whether the given mouse button is held down.
Interface to Input.GetMouseButton. Can be overridden to provide custom input instead of using the Input class.