Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetOutputCount<U>(U)

Returns the number of outputs supported by the Playable.
Read time 1 minuteLast updated 9 days ago

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.