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.

var humanScale: float;
float humanScale;
humanScale as float

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.