Legacy Documentation: Version 2017.2 (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

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.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答