文档

Unity Engine


User Manual

Script Reference

Unity Engine


GetSourceOutputPort<U>(U)

Returns the source playable's output connection index.
阅读时间1 分钟最后更新于 1 个月前

Definition

GetSourceOutputPort<T>(T)

public static int GetSourceOutputPort<U>(this U output) where U : struct, IPlayableOutput

Parameters

output

T
The PlayableOutput used by this operation.

Returns

Type

Description

intThe output port.

Remarks

Default value is 0.