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

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

Sets the layer's current weight.