Unidade Remova o pai
transform.parent = null;
Greentext
transform.parent = null;
Destroy(transform.parent.gameObject);