ドキュメント

Unity Engine

Unity Engine

OnGraphChanged(GraphLogger)

Called after the graph has changed.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public virtual void OnGraphChanged(GraphLogger graphLogger)

Parameters

graphLogger

The GraphLogger that receives any errors or warnings related to the graph.

Remarks

Unity calls this method after any change to the graph. Override it to validate the graph's integrity and report issues using the provided GraphLogger. Use this method to detect invalid configurations, highlight issues in the editor, or provide user feedback. Do not modify the graph within this method, as it may cause instability or recursive updates.