OnGraphStop(Playable)
This function is called when the PlayableGraph that owns this PlayableBehaviour stops.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
public virtual void OnGraphStop(Playable playable)
Parameters
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.