public static void AddInput (U playable, V sourcePlayable, int sourceOutputIndex);

Parameters

playable 此操作所用的 Playable
sourcePlayable 要连接到的 Playable
sourceOutputIndex Playable 的输出端口。

Description

Add a new input port and connect the output port of a Playable to this new port.

If several inputs are needed, it is better to use SetInputCount and ConnectInput.
This method is a simple helper on top of PlayableGraph.Connect.

注意:这是一种模板化扩展方法,适用于继承自 IPlayable 的任何类型。