GetOutputCount<U>(U)
Returns the number of outputs supported by the Playable.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
GetOutputCount<T>(T)
public static int GetOutputCount<U>(this U playable) where U : struct, IPlayable
Parameters
The Playable used by this operation.
Returns
Type | Description |
|---|---|
| int | The 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.