The CleanUp
method in the Editor.NodeEditor.GraphView
class is designed to perform automated fixes and replace obsolete nodes within the graph view. This method is virtual, allowing derived classes to override its behavior if necessary.
The CleanUp
method in the Editor.NodeEditor.GraphView
class is designed to perform automated fixes and replace obsolete nodes within the graph view. This method is virtual, allowing derived classes to override its behavior if necessary.
To use the CleanUp
method, simply call it on an instance of the GraphView
class or any of its derived classes. This method does not take any parameters and does not return a value. It is typically used to ensure that the graph is in a consistent and up-to-date state by removing deprecated nodes and applying necessary updates.
// Assuming 'graphView' is an instance of Editor.NodeEditor.GraphView graphView.CleanUp(); // This will perform automated fixes and replace any obsolete nodes in the graph view.