ドキュメント

Unity Engine

Unity Engine

GetOutput<U>(U, int)

Returns the Playable connected at the given output port index.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

GetOutput<T>(T, int)

public static Playable GetOutput<U>(this U playable, int outputPort) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

outputPort

The port index.

Returns

Type

Description

PlayablePlayable connected at the output index specified, or null if the index is valid but is not connected to anything. This happens if there was once a Playable connected at the index, but was disconnected via PlayableGraph.Disconnect.

Remarks

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