Animator.SetLayerWeight

function SetLayerWeight (layerIndex : int, weight : float) : void

Parameters

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

Description

Sets the layer's current weight.