Vector2 input = joystick.input;
Transform sphere = sphereObject;
float rotateSpeed = 10;
var euler = sphere.eulerAngles;
euler.x += input.x * rotateSpeed;
euler.z += input.y * rotateSpeed;
sphere.eulerAngles = euler;