protected void placeBrick()
    {
        if (ButtonsManager.getAmount() < script.getValue())
        {
            ButtonsManager.flash();
            return;
        }

        timeout = 0.5f;
        if (script.placeSolid())
        {
            lego.transform.position += Vector3.up * script.getHeight();
            ButtonsManager.spend(script.getValue());
        }
    }