2 touch Destroy(gameObject);

hi friends how can I make the object disappear when I touch 2 or more? thank you now

void OnMouseUp()
{

    Destroy(gameObject);
   
}

just take track of number of clicks with a int and compare the numberOfClicks value.

the whole code is here but i don’t