Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

Animator.GetLayerWeight

Switch to Manual
public float GetLayerWeight(int layerIndex);

Parameters

layerIndexThe layer index.

Returns

float The layer weight.

Description

Returns the weight of the layer at the specified index.

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