기술 자료

Unity Engine

Unity Engine

SetInspectorRotation(Transform, Vector3)

Sets the rotation of a transform as it would be set by the Transform Inspector window.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static void SetInspectorRotation(Transform t, Vector3 r)

Parameters

Transform to set the rotation on.

Rotation as it would be set by the Transform Inspector window.