Destroy a single instance of prefabs by clicking on it?

In my project there are enemies (generated at random positions) that must be destroyed when the player click on them …
How can I do that? thanks…

I have already used Destroy(gameobject) but it doesn’t work beacause it delete all instance and even if the player doesn’t click on them…

Put a script in each enemy with an OnMouseDown() event, and in this event you call Destroy() to itself. This way, only the clicked gameobject will activate the event and will kill itself.

I agree with @daybsonpaisante

void OnMouseOver()
{
    if(Input.GetMouseDown(0)
    {
        Destroy(this.gameObject);
    }
}

Try to put this on prefabs you want to destroy by click

Can anybody tell me, why when I’m using this code i found a delay while touching to destroy prefabs?? I have to touch more than one time
void OnMouseDown() { if (Input.GetMouseButtonDown (0)) { Destroy (this.gameObject); } }