Rotates a game object around each axis.
The game object to rotate.
A rotation vector specifying rotations around x, y, and z axis. NOTE: You can override individual axis below.
Degrees to rotate around the x axis.
Degrees to rotate around the y axis.
Degrees to rotate around the z axis.
Rotate in local or world space.
Rotation is specified in degrees per second. In other words, the amount to rotate in over one second. This allows rotations to be frame rate independent. It is the same as multiplying the rotation by Time.deltaTime.
Repeat every frame.