void Update () { } void OnMouseDown(){ // this object was clicked - do something Destroy (this.gameObject); }