文档

Unity Engine

Unity Engine

OnGraphStart(Playable)

This function is called when the PlayableGraph that owns this PlayableBehaviour starts.
阅读时间1 分钟最后更新于 1 个月前

Definition

public virtual void OnGraphStart(Playable playable)

Parameters

playable

The Playable that owns the current PlayableBehaviour.

Remarks

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