# Disconnect<U>(U, int)

> Disconnects the Playable. The connections determine the topology of the PlayableGraph and how it is evaluated.

## Definition

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

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

```csharp
public void Disconnect<U>(U input, int inputPort) where U : struct, IPlayable
```

### Parameters

**** (T): The source playabe or its handle.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The port used in the source playable.
