Animator.GetLayerIndex

Switch to Manual

Declaration

public int GetLayerIndex(string layerName);

Parameters

Parameter Description
layerName The layer name.

Returns

int The layer index.

Description

Returns the index of the layer with the given name.


Did you find this page useful? Please give it a rating: