protected void FireSkill()
    {
        if (!salto)
        {
            pers.Jump(true);
            anim.SetFloat("roll", 1f);

            salto = true;
        }
    }
    // Update is called once per frame
    void Update()
    {
        pers.Mover(Input.GetAxis("Horizontal"));

        if (pers.Grounded)
        {
            if (Input.GetButtonDown("Jump"))
            {
                pers.Jump();
            }
        }
        else
        {
            if (Input.GetButtonDown("Jump"))
            {
                doubleJump.TentarDisparo();
            }
        }

        if (!Input.GetKey(KeyCode.LeftShift))
        {
            if (Input.GetButtonDown("Fire1"))
            {
                ataqueBasico.TentarDisparo();
            }
        }
        else
        {
            if (Input.GetButtonDown("Fire1"))
            {
                shuriken.TentarDisparo();
            }
        }

        if (Input.GetButtonDown("Fire2"))
        {
            dash.TentarDisparo();
        }

        if (Input.GetAxisRaw("Vertical") < 0)
        {
            pers.Agachar(true);
        }
        else
        {
            pers.Agachar(false);
        }
    }