Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetLayerWeight(int)

Returns the weight of the layer at the specified index.
Read time 1 minuteLast updated 6 days ago

Definition

public float GetLayerWeight(int layerIndex)

Parameters

layerIndex

The layer index.

Returns

Type

Description

floatThe layer weight.