Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

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

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.

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