Version: 2022.2
public void SetLayerWeight (int layerIndex, float weight);

参数

layerIndex 层索引。
weight 新的层权重。

描述

设置给定索引处层的权重。