# Destroy<U>(U)

> Destroys the current Playable.

## Definition

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

## Destroy\<T>(T)

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

### Parameters

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

### Remarks

NOTE: Any other Playables connected to the destroyed Playable's output ports will be orphaned; they will still exist in the [PlayableGraph](/engine/6000.0/script-reference/unityengine/playables/playablegraph.md), but will not be updated until they are connected to a graph branch that is connected to a [PlayableOutput](/engine/6000.0/script-reference/unityengine/playables/playableoutput.md).

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