Animations.AnimatorControllerPlayable.GetLayerIndex

Unity · Версия 2020.3 LTS · Scripting · AnimatorControllerPlayable

Animations.AnimatorControllerPlayable.GetLayerIndex

Объявление

public int GetLayerIndex(string layerName);

Параметры

layerName Имя слоя.

Возвращает

int Индекс слоя.

Описание

Возвращает индекс слоя с заданным именем.

Обновлено 17 ноября 2026 г.