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.OnGraphStart

public void OnGraphStart(Playables.Playable playable);

Parameters

playableThe Playable that owns the current PlayableBehaviour.

Description

This function is called when the PlayableGraph that owns this PlayableBehaviour starts.

OnGraphStart is called when the graph starts playing, or on the first invocation of PlayableGraph.Evaluate. Each call to OnGraphStart is paired with OnGraphStop.