void RebuildGraph() { if (_graph != null) { _graph.RebuildGraph(); } }
public void RebuildGraph(GameObject[] roots, bool searchHierarchy) { if (_graph != null) { _graph.RebuildGraph(Selection.gameObjects, searchHierarchy); } }
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); }