hey, how do you detect if user performs right click on my scrollview items? at the moment I'm using this
public void OnClick()
{
if (Input.GetMouseButton(1))
{
Debug.Log("Right click on" + thisDisplayname);
}
Debug.Log(thisDisplayname);
}
When I left click on my item it works fine, but it doesnt detect my right click, I also browsed somewhere and tried OnRightClick, but it doesnt trigger my debug log