Activate 2 separate OnClick events, with the different Mouse Buttons

I know i can make a OnClick with the left Mouse Button, but is it possible to make another OnClick in the same Button, with right Mouse Button ?

Didn’t try it but within your function that is called when you click the button you could do something like this:

if(Input.GetMouseButtonDown(0)) {
 // left mouse click
} else if (Input.GetMouseButtonDown(1) {
 // right mouse click
}

But I don’t know if the button will react on a right click.

UI button OnClick event not script