语言英语
  • C#

PlayableExtensions.GetInput

声明

public static Playables.Playable GetInput(U playable, int inputPort);

参数

playable 此操作使用的Playable
inputPort 端口索引。

返回值

Playable 在指定的索引处连接的Playable,如果索引有效但未连接到任何内容,则返回 null。当索引处曾连接过 Playable,但通过PlayableGraph.Disconnect断开连接时,这种情况就会发生。

说明

返回在给定输入端口索引处连接的Playable

对继承自IPlayable的任何类型使用此模板化扩展方法。


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