Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

TransformUtils

class in UnityEditor

/

Implemented 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.

Did you find this page useful? Please give it a rating: