# GetOutputCount<U>(U)

> Returns the number of outputs supported by the Playable.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Playables](/engine/6000.5/script-reference/unityengine/playables.md)
* **Assembly:** UnityEngine.CoreModule

## GetOutputCount\<T>(T)

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

### Parameters

**** (T): The [Playable](/engine/6000.5/script-reference/unityengine/playables/playable.md) used by this operation.

### Returns

| Type                                                       | Description                           |
| ---------------------------------------------------------- | ------------------------------------- |
| [int](https://learn.microsoft.com/dotnet/api/system.int32) | 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](/engine/6000.5/script-reference/unityengine/playables/iplayable.md).
