ドキュメント

Unity Engine

Unity Engine

SetInspectorRotation(Transform, Vector3)

Sets the rotation of a transform as it would be set by the Transform Inspector window.
読み終わるまでの所要時間 1 分最終更新 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.