Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnPlayableDestroy(Playable)

This function is called when the Playable that owns the PlayableBehaviour is destroyed.
Read time 1 minuteLast updated 13 days ago

Definition

public virtual void OnPlayableDestroy(Playable playable)

Parameters

playable

The Playable that owns the current PlayableBehaviour.

Remarks

The playable can be destroyed with PlayableExtensions.Destroy.