public void Moving()
        {
            moveInput = new Vector3(inputMovement.x, inputMovement.y, 0f);
            rpgCharacterController.SetMoveInput(moveInput);

            // Set the input on the jump axis every frame.
            Vector3 jumpInput = isJumpHeld ? Vector3.up : Vector3.zero;

            rpgCharacterController.SetJumpInput(jumpInput);

            // If we pressed jump button this frame, jump.
            if (inputJump && rpgCharacterController.CanStartAction("Jump"))
            {
                rpgCharacterController.StartAction("Jump");
            }
            else if (inputJump && rpgCharacterController.CanStartAction("DoubleJump"))
            {
                rpgCharacterController.StartAction("DoubleJump");
            }
        }