This version of Unity is unsupported.

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.