This version of Unity is unsupported.

PlayableBehaviour.OnPlayableDestroy

Declaration

public void OnPlayableDestroy(Playables.Playable playable);

Parameters

playable The 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.