Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AnimatorControllerPlayable.SetLayerWeight

Declaration

public void SetLayerWeight(int layerIndex, float weight);

Parameters

layerIndex The layer index.
weight The new layer weight.

Description

Sets the weight of the layer at the given index.