文档

Unity Engine


User Manual

Script Reference

Unity Engine


SetSourceOutputPort<U>(U, int)

Sets the source playable's output connection index. For playables with multiple outputs, this determines which sub-branch of the source playable generates this output.
阅读时间1 分钟最后更新于 1 个月前

Definition

SetSourceOutputPort<T>(T, int)

警告
Deprecated. Method SetSourceOutputPort has been deprecated. Use SetSourcePlayable(Playable, Port) instead.
public static void SetSourceOutputPort<U>(this U output, int value) where U : struct, IPlayableOutput

Parameters

output

T
The PlayableOutput used by this operation.

value

The new output port value.