Einheit zerstören Objekt unsichtbar
//INSIDE ON YOUR OBJECT'S SCRIPT
void OnBecameInvisible() {
Destroy (this.gameObject);
}
Zarden
//INSIDE ON YOUR OBJECT'S SCRIPT
void OnBecameInvisible() {
Destroy (this.gameObject);
}
GetComponent(MeshRenderer).enabled = false;