Version: 2018.3 (switch to 2019.1)
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: