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.

PlayableBehaviour.OnPlayableDestroy

public void OnPlayableDestroy(Playables.Playable playable);

Parameters

playableThe Playable that owns the current PlayableBehaviour.

Description

This function is called when the Playable that owns the PlayableBehaviour is destroyed.

The playable can be destroyed with PlayableExtensions.Destroy.