LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

PlayableGraph.DestroyPlayable

public void DestroyPlayable(U playable);

Parameters

playableThe playable to destroy.

Description

Destroys the Playable.

Playables connected to the destroyed Playable output ports are orphaned. These orphaned Playables still exist in the PlayableGraph. Orphaned Playables are not updated until they are connected to a branch that is connected to a PlayableOutput.