Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

Animator.SetLayerWeight

Switch to Manual
public void SetLayerWeight(int layerIndex, float weight);

Parameters

layerIndexThe layer index.
weightThe new layer weight.

Description

Sets the weight of the layer at the given index.

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