private void OnGUI() { if (GUILayout.Button("Scan the project")) { DependencyGraphManager.ScanProject(); DependencyGraphIOUtility.Save(DependencyGraphManager.AssetCollection.Values.ToList()); } DependencyGraphAssetDrawer.DrawGraphForActiveObject(); }
private static void Update() { if (!DependencyGraphManager.IsDirty) { return; } AssetDatabase.SaveAssets(); DependencyGraphManager.Update(); DependencyGraphIOUtility.Save(DependencyGraphManager.AssetCollection.Values.ToList()); }