TransformUtils.SetInspectorRotation

Switch to Manual
public static void SetInspectorRotation (Transform t, Vector3 r);

Parameters

t将在其中设置旋转的变换。
r旋转,与 Transform Inspector 窗口设置的旋转相同。

Description

设置变换旋转,与 Transform Inspector 窗口设置的旋转相同。