using UnityEngine; public class TowerDeleter : MonoBehaviour { public void Delete() { Tower tower = transform.root.GetComponentInChildren(); Destroy(tower.gameObject); } }