void OnMouseUp() { //here code }
//be sure to use the unity system. above void OnMouseDown() { Destroy(gameObject); }