Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


OnGraphStop(Playable)

This function is called when the PlayableGraph that owns this PlayableBehaviour stops.
Read time 1 minuteLast updated 6 days ago

Definition

public virtual void OnGraphStop(Playable playable)

Parameters

playable

The Playable that owns the current PlayableBehaviour.

Remarks

OnGraphStop is called when Unity stops playing the owning graph, and is guaranteed to always and only be called if PlayableBehaviour.OnGraphStart has been called. If the graph has been only been manually evaluated, OnGraphStop will be called prior to destroy.