first, sorry for bad english,
Im having trouble trying to destroy a clone, my clone have a script attached to him, so in the script i have this code:
if (this.transform.position.y <= MainCameraScript.altura.y - 90){
Destroy(this.gameObject);
}
that code actually destroy the gameobject, but dont destroy the prefab clone and i have a bunch of empty clones.
any can help me? thanks in advance