how to get rotation of an object in unity 3d code example
Example: how to get rotation of object in unity c#
float angleX = myTransformGO.rotation.eulerAngles.x;
float angleY = myTransformGO.rotation.eulerAngles.y;
float angleZ = myTransformGO.rotation.eulerAngles.z;