기술 자료

Unity Engine

Unity Engine

GetOutputCount<U>(U)

Returns the number of outputs supported by the Playable.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

GetOutputCount<T>(T)

public static int GetOutputCount<U>(this U playable) where U : struct, IPlayable

Parameters

playable

T
The Playable used by this operation.

Returns

Type

Description

intThe count of outputs on the Playable.

Remarks

Currently only 1 output is supported.
Use this templated extension method on any type that inherits from IPlayable.