This version of Unity is unsupported.

PointerEventBase<T0>.button

public int button;

Description

Gets a value that indicates which mouse button was pressed: 0 is the left button, 1 is the right button, 2 is the middle button.