Version: 2022.3
public static Playables.Playable GetOutput (U playable, int outputPort);

参数

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

返回

Playable 指定输出索引处连接的 Playable,如果索引有效但未连接任何可播放项,则返回 null。如果曾在索引处连接了可播放项,但又通过 PlayableGraph.Disconnect 断开了连接,则会出现这种情况。

描述

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

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


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