LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

TransformUtils

class in UnityEditor

Description

Editor Transform Utility Class.

Static Methods

GetInspectorRotationReturns the rotation of a transform as it is shown in the Transform Inspector window.
SetInspectorRotationSets the rotation of a transform as it would be set by the Transform Inspector window.