SetInspectorRotation(Transform, Vector3)
Sets the rotation of a transform as it would be set by the Transform Inspector window.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static void SetInspectorRotation(Transform t, Vector3 r)