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

Parameters

playableThe 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.