Einheit löschen alle Kinder
foreach (Transform child in transform) {
Destroy(child.gameObject);
}
CatgirlSimp
foreach (Transform child in transform) {
Destroy(child.gameObject);
}
foreach (Transform child in transform) {
child.SetParent(null);
}