public void Initialize() { _graph = EventsGraph.Create(); _graph.RebuildGraph(); _graphGUI = _graph.GetEditor(); _graphGUI.CenterGraph(); EditorUtility.SetDirty(_graphGUI); EditorUtility.SetDirty(_graph); }
public void Initialize() { if (initialized) { return; } initialized = true; _graph = EventsGraph.Create(); _graph.RebuildGraph(); _graphGUI = _graph.GetEditor(); _graphGUI.CenterGraph(); EditorUtility.SetDirty(_graphGUI); EditorUtility.SetDirty(_graph); }