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

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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答