Animator.SetLayerWeight
SetLayerWeight(layerIndex: int, weight: float): void;
Parameters

layerIndex The layer's index.
weight The weight of the layer.
Description

Sets the layer's current weight.