Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Experimental: this API is experimental and might be changed or removed in the future.

ScriptPlayable.OnGraphStart

public void OnGraphStart();

Description

Called when the PlayableGraph this Playable is owned by starts playing.

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