Version: 2017.3

TransformUtils.SetInspectorRotation

Cambiar al Manual
public static void SetInspectorRotation (Transform t, Vector3 r);

Parámetros

t Transform to set the rotation on.
r Rotation as it would be set by the Transform Inspector window.

Descripción

Sets the rotation of a transform as it would be set by the Transform Inspector window.