public void Initialize() { _graph = EventsGraph.Create(); _graph.BuildGraph(); _graphGUI = _graph.GetEditor(); _graphGUI.CenterGraph(); EditorUtility.SetDirty(_graphGUI); EditorUtility.SetDirty(_graph); }
void Refresh() { _graph.Clear(); _graph.BuildGraph(); }