Animations.AnimatorControllerPlayable.SetLayerWeight

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

Animations.AnimatorControllerPlayable.SetLayerWeight

Объявление

public void SetLayerWeight(int layerIndex, float weight);

Параметры

layerIndex Индекс слоя.
weight Вес нового слоя.

Описание

Устанавливает вес слоя по заданному индексу.

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