unity get euler angles code example Example: changing euler angles unity transform.eulerAngles = new Vector3(0, 0, 0);