In my FPS game I have a sphere, which contain a sphere collider: trigger. When player touch it, it destroys. But if I have a lot on this kind of game object (GO), they all destruct in that way.
How can I check the name of the GO, I’m collide with and how to destroy only this GO?
void OnTriggerEnter(Collider collision)
{
Debug.Log ("You found the weapon");
Destroy (GameObject.Find ("Weapon"));
}