unity convert eulerangles to degrees code example Example: changing euler angles unity transform.eulerAngles = new Vector3(0, 0, 0);