private void OnMouseDown()
{
print("down "+piecename);
}
private void OnMouseUpAsButton()
{
print("upbutton");
}
private void OnMouseUp()
{
print("up " + piecename);
}
just a very simple code, I do have collision2D on the object, but sometime i can have
only down and up but not upbutton, is there any reasonable explanation for this