public void SelectedDestroy() { if (!selectedGO) { return; } PlaceableObject bld = selectedGO.GetComponent <PlaceableObject>(); bld.DestroyMe(); ClearSelection(); }