Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

AnimatorControllerPlayable.GetLayerIndex

Declaration

public int GetLayerIndex(string layerName);

Parameters

layerName The layer name.

Returns

int The layer index.

Description

Returns the index of the layer with the given name.