Input.getmousebutton(0) code example
Example: Input.getMouseButton
if (Input.GetMouseButton(2))
{
Debug.Log("Pressed middle click.");
}
if (Input.GetMouseButton(2))
{
Debug.Log("Pressed middle click.");
}