void FixedUpdate()
    {
        animation.SetBool("Attack", link.attack);
        animation.SetBool("Ground", link.grounded);
        animation.SetFloat("Speed", Mathf.Abs(move));
        animation.SetBool("Dam", dam);
        animation.SetBool("Crouch", link.crouch);
        animation.SetFloat("vSpeed", link.GetComponent <Rigidbody2D>().velocity.y);

        move          = -link.move;
        rb2d.velocity = new Vector2(move * maxSpeed, link.GetComponent <Rigidbody2D>().velocity.y);

        //transform.position = new Vector2(transform.position.x, link.transform.position.y);
        if (link.jump)
        {
            rb2d.AddForce(new Vector2(0f, link.jumpForce));
        }


        if (move < 0 && facingRight)
        {
            Flip();
        }
        else if (move > 0 && !facingRight)
        {
            Flip();
        }


        shieldBox.offset = link.shieldBox.offset;
        linkBox.size     = link.linkBox.size;
        linkBox.offset   = link.linkBox.offset;
    }