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