void Start()
    {
        if (this.name != "btnJugar" && this.name != "Right" && this.name != "Left" && this.name != "Inventario" && this.name != "btnSalto")
        {
            Inventario = GameObject.Find("Inventario").GetComponent <ControlPreInventario>();
            string[] numeroSelect = this.name.Split("_"[0]);
            animaBlock = GameObject.Find("Bloques_" + numeroSelect[1]).GetComponent <Animator>();
            animaCount = GameObject.Find("Contador_" + numeroSelect[1]).GetComponent <Animator>();
        }

        if (this.name == "Right" || this.name == "Left")
        {
            Inventario = GameObject.Find("Inventario").GetComponent <ControlPreInventario>();
        }

        if (this.name == "btnJugar")
        {
            Inventario = GameObject.Find("Inventario").GetComponent <ControlPreInventario>();
        }

        if (this.name == "Inventario")
        {
            CargaInventario();
        }
    }
    void Start()
    {
        if (this.name != "btnJugar" && this.name != "Right" && this.name != "Left" && this.name != "Inventario" && this.name != "btnSalto")
        {
                Inventario = GameObject.Find("Inventario").GetComponent<ControlPreInventario>();
                string[] numeroSelect = this.name.Split("_"[0]);
                animaBlock = GameObject.Find("Bloques_" + numeroSelect[1]).GetComponent<Animator>();
                animaCount = GameObject.Find("Contador_" + numeroSelect[1]).GetComponent<Animator>();
        }

        if (this.name == "Right" || this.name == "Left")
            Inventario = GameObject.Find("Inventario").GetComponent<ControlPreInventario>();

        if (this.name == "btnJugar")
            Inventario = GameObject.Find("Inventario").GetComponent<ControlPreInventario>();

        if (this.name == "Inventario")
            CargaInventario();
    }