Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

TransformUtils.GetInspectorRotation

Declaration

public static Vector3 GetInspectorRotation(Transform t);

Parameters

t Transform to get the rotation from.

Returns

Vector3 Rotation as it is shown in the Transform Inspector window.

Description

Returns the rotation of a transform as it is shown in the Transform Inspector window.