//esto solo va a funcionar si el objeto de arriba tiene la clase de ingrediente.
    public void cutTopObj()
    {
        //instancia = topObj.GetComponentInChildren<Ingrediente>();
        if (!audioS.isPlaying)
        {
            audioS.Play();
        }

        variable.gameObject.SetActive(true);
        instancia = generalClass.topObj.GetComponentInChildren <Ingrediente>();
        //topObj = this.gameObject.transform.Find("grab").GetChild(0).gameObject;
        progresoCortado = instancia.cortar();
        sliderRef.value = progresoCortado;
        Debug.Log(sliderRef.value);

        if (sliderRef.value == 3)
        {
            sliderRef.value = 0;
            variable.gameObject.SetActive(false);
        }
    }