Version: 2022.3
public static float GetInputWeight (U playable, int inputIndex);

参数

playable 此操作所用的 Playable
inputIndex 端口索引。

返回

float 已连接的 Playable 的当前权重。

描述

返回给定输入端口索引处连接的 Playable 的权重。

Use this templated extension method on any type that inherits from IPlayable.


Did you find this page useful? Please give it a rating: