Gets the rotation of a game object and stores each axis in a float variable
Game Object
The game object to examine.
XAngle
Get the angle around the X axis.
YAngle
Get the angle around the Y axis.
ZAngle
Get the angle around the Z axis.
Space
Local or world space.
Every Frame
Perform this action every frame.