Version: 2017.2
public static void Destroy (U playable);

Parameters

playable The Playable used by this operation.

Description

Destroys the current Playable.

NOTE: This is a templated extension method that can be used on any type that inherits from IPlayable

NOTE: Any other Playables connected to the destroyed Playable's output ports will be orphaned; they will still exist in the PlayableGraph, but will not be updated until they are connected to a graph branch that is connected to a PlayableOutput.