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.

Animator.humanScale

Switch to Manual
public float humanScale;

Description

Returns the scale of the current Avatar for a humanoid rig, (1 by default if the rig is generic).

The scale is relative to Unity's Default Avatar.

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