public static void ConnectInput (U playable, int inputIndex, V sourcePlayable, int sourceOutputIndex, float weight);

参数

playable此操作所用的 Playable
inputIndex输入端口索引。
sourcePlayable要连接到的 Playable
sourceOutputIndex Playable 的输出端口。
weight输入端口的权重。

描述

Playable 的输出端口连接到其中一个输入端口。

此方法只是 PlayableGraph.Connect 的 helper 方法。

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

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961