# SetInputCount<U>(U, int)

> Changes the number of inputs supported by the Playable.

## Definition

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

## SetInputCount\<T>(T, int)

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

### Parameters

**** (T): The [Playable](/engine/6000.6/script-reference/unityengine/playables/playable.md) used by this operation.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

### Remarks

Use this templated extension method on any type that inherits from [IPlayable](/engine/6000.6/script-reference/unityengine/playables/iplayable.md).
