예제 #1
0
    public void SelectedDestroy()
    {
        if (!selectedGO)
        {
            return;
        }
        PlaceableObject bld = selectedGO.GetComponent <PlaceableObject>();

        bld.DestroyMe();
        ClearSelection();
    }