Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

Animator.hasTransformHierarchy

Switch to Manual
var hasTransformHierarchy: bool;
bool hasTransformHierarchy;
hasTransformHierarchy as bool

Description

Returns true if the object has a transform hierarchy.

Based on the Optmize Game Object toggle of Model Importer.