Exemplo n.º 1
0
    } // no multimaterial planes

    public void Delete(BlockAnnihilationOrder order)
    {
        if (destroyed)
        {
            return;
        }
        else
        {
            destroyed = true;
        }
        PrepareStructureForDestruction(order.GetStructureOrder());
        upperPlane?.Annihilate(order.GetPlaneOrder());
        basement = null;
        Destroy(gameObject);
    }