Version: 5.4
Experimental: this API is experimental and might be changed or removed in the future.

IAnimatorControllerPlayable.GetLayerIndex

Switch to Manual
public int GetLayerIndex (string layerName);

Parameters

layerName The layer's name.

Returns

int Получить имя слоя.

Description

Gets the index of the layer with specified name.