UNITY 3D CREATE OBJECT ON CLICK code example
Example: unity click object
void OnMouseDown()
{
// this object was clicked - do something
Destroy (this.gameObject);
}
void OnMouseDown()
{
// this object was clicked - do something
Destroy (this.gameObject);
}