Version: 2022.3
public static int GetInputCount (U playable);

参数

playable 此操作所用的 Playable

返回

int 可播放项上的输入计数。

描述

返回 Playable 支持的输入数量。

输入计数包括未连接任何可播放项的槽。这等同于调用 GetInputs().Length,但速度要快得多。

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


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