diff --git a/AssetDependencyGraph.meta b/AssetDependencyGraph.meta new file mode 100644 index 0000000..2339c2f --- /dev/null +++ b/AssetDependencyGraph.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3766cfdb049e72541897ef8ec5086e6d +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AssetDependencyGraph/AssetDependencyGraph-Editor.asmdef b/AssetDependencyGraph/AssetDependencyGraph-Editor.asmdef new file mode 100644 index 0000000..69a8ee7 --- /dev/null +++ b/AssetDependencyGraph/AssetDependencyGraph-Editor.asmdef @@ -0,0 +1,14 @@ +{ + "name": "AssetDependencyGraph-Editor", + "references": [], + "optionalUnityReferences": [], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [] +} \ No newline at end of file diff --git a/AssetDependencyGraph/AssetDependencyGraph-Editor.asmdef.meta b/AssetDependencyGraph/AssetDependencyGraph-Editor.asmdef.meta new file mode 100644 index 0000000..cc4e0a8 --- /dev/null +++ b/AssetDependencyGraph/AssetDependencyGraph-Editor.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: d7b2a9d5ed1e29b4285a308957689bf1 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/AssetDependencyGraph/Editor.meta b/AssetDependencyGraph/Editor.meta new file mode 100644 index 0000000..337a5d8 --- /dev/null +++ b/AssetDependencyGraph/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d1c7781d3b33cdb48a6006b20b6ad322 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Editor/AssetDependencyGraph.cs b/AssetDependencyGraph/Editor/AssetDependencyGraph.cs similarity index 100% rename from Assets/Editor/AssetDependencyGraph.cs rename to AssetDependencyGraph/Editor/AssetDependencyGraph.cs diff --git a/Assets/Editor/AssetDependencyGraph.cs.meta b/AssetDependencyGraph/Editor/AssetDependencyGraph.cs.meta similarity index 100% rename from Assets/Editor/AssetDependencyGraph.cs.meta rename to AssetDependencyGraph/Editor/AssetDependencyGraph.cs.meta diff --git a/Images/Example.png b/Images~/Example.png similarity index 100% rename from Images/Example.png rename to Images~/Example.png diff --git a/Images/Usage.png b/Images~/Usage.png similarity index 100% rename from Images/Usage.png rename to Images~/Usage.png diff --git a/README.md b/README.md index 9741ca7..044a6c6 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ # Unity - Asset Dependency Graph -This project provides a basic Asset Dependency Graph for Unity using the new [GraphView](https://docs.unity3d.com/2019.2/Documentation/ScriptReference/Experimental.GraphView.GraphView.html) api. +This project provides a basic Asset Dependency Graph for Unity using the new [GraphView](https://docs.unity3d.com/2019.2/Documentation/ScriptReference/Experimental.GraphView.GraphView.html) API. -![](Images/Example.png?raw=true) +![](Images~/Example.png?raw=true) ## Install instructions -Simply copy the [AssetDependencyGraph](Assets/Editor/AssetDependencyGraph.cs) C# script into your existing project +Clone and Add this GitHub repository as a local package using Package Manager. ## Usage The Asset Dependency Graph Window can be opened via the `Window > Analysis >Asset Dependency Graph` file menu -![](Images/Usage.png?raw=true) +![](Images~/Usage.png?raw=true) Once the window is open: 1. Select the root asset you want to inspect in the Project window @@ -20,4 +20,4 @@ Once the window is open: Any questions? Ask [@peanutbuffer](https://twitter.com/PeanutBuffer) ## Tested against -2019.2, 2019.1, 2018.4, 2018.3 +2019.2, 2019.1, 2018.4, 2018.3 \ No newline at end of file diff --git a/README.md.meta b/README.md.meta new file mode 100644 index 0000000..4add917 --- /dev/null +++ b/README.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 0df6ada5e93fc6844907ed3412ce6b74 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/package.json b/package.json new file mode 100644 index 0000000..b91056a --- /dev/null +++ b/package.json @@ -0,0 +1,7 @@ +{ + "name": "com.unityharry.assetdependencygraph", + "displayName": "Asset Dependency Graph", + "version": "1.0.0", + "unity": "2018.3", + "description": "Asset dependency graph visualizer." +} diff --git a/package.json.meta b/package.json.meta new file mode 100644 index 0000000..3243e31 --- /dev/null +++ b/package.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 0725540f2134fad41bacbb4454bd684e +PackageManifestImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: