Need urgent help, to show rotating unit as a degree....

public var MyObject : GameObject;

function Update()
{
	MyObject = GameObject.Find("Cube");

	guiText.text = "" + MyObject.transform.rotation.y;
}

This is my script. It works fine but when I rotate the camera, which is linked to the GameObject, then it shows the guitext result but in friction. And I want to show the result in degrees, Minutes and seconds. Thats all, Thanks a lot

The rotation variable is a Quaternion which does not have apparent logical values. What you want is transform.eulerAngles which is the rotation in normal degrees. It shows it in degrees with decimal values though, so you would have to convert it to minutes and second yourself.

Wait a sec then I will help you