From 7358b12609de240f54da41bdbb2ef9e46c819487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=BCleyman=20Yasir=20KULA?= Date: Tue, 28 Apr 2020 12:22:48 +0300 Subject: [PATCH] Added Package Manager support --- README.md => .github/README.md | 13 +++++++++++-- {screenshots => .github/screenshots}/img1.png | Bin {screenshots => .github/screenshots}/img2.gif | Bin LICENSE => LICENSE.txt | 0 LICENSE.txt.meta | 7 +++++++ Plugins.meta | 8 ++++++++ .../Editor/AssetUsageDetector.Editor.asmdef | 15 +++++++++++++++ .../Editor/AssetUsageDetector.Editor.asmdef.meta | 7 +++++++ package.json | 6 ++++++ package.json.meta | 7 +++++++ 10 files changed, 61 insertions(+), 2 deletions(-) rename README.md => .github/README.md (67%) rename {screenshots => .github/screenshots}/img1.png (100%) rename {screenshots => .github/screenshots}/img2.gif (100%) rename LICENSE => LICENSE.txt (100%) create mode 100644 LICENSE.txt.meta create mode 100644 Plugins.meta create mode 100644 Plugins/AssetUsageDetector/Editor/AssetUsageDetector.Editor.asmdef create mode 100644 Plugins/AssetUsageDetector/Editor/AssetUsageDetector.Editor.asmdef.meta create mode 100644 package.json create mode 100644 package.json.meta diff --git a/README.md b/.github/README.md similarity index 67% rename from README.md rename to .github/README.md index 711fc74..b64d516 100644 --- a/README.md +++ b/.github/README.md @@ -12,9 +12,18 @@ This editor extension helps you figure out at which places an asset or GameObject is used, i.e. lists the objects that refer to the asset. It is possible to search for references in the Assets folder (Project view) and/or in the scene(s) of your project. You can also search for references while in Play mode! -### B. HOW TO USE +## INSTALLATION + +There are 4 ways to install this plugin: + +- import [AssetUsageDetector.unitypackage](https://github.com/yasirkula/UnityAssetUsageDetector/releases) via *Assets-Import Package* +- clone/[download](https://github.com/yasirkula/UnityAssetUsageDetector/archive/master.zip) this repository and move the *Plugins* folder to your Unity project's *Assets* folder +- import it from [Asset Store](https://assetstore.unity.com/packages/tools/utilities/asset-usage-detector-112837) +- *(via Package Manager)* add the following line to *Packages/manifest.json*: + - `"com.yasirkula.assetusagedetector": "https://github.com/yasirkula/UnityAssetUsageDetector.git",` + +### B. HOW TO -- Import [AssetUsageDetector.unitypackage](https://github.com/yasirkula/UnityAssetUsageDetector/releases) to your project - Open **Window - Asset Usage Detector** window, configure the settings and hit **GO!** - or, right click an object and select **Search For References** diff --git a/screenshots/img1.png b/.github/screenshots/img1.png similarity index 100% rename from screenshots/img1.png rename to .github/screenshots/img1.png diff --git a/screenshots/img2.gif b/.github/screenshots/img2.gif similarity index 100% rename from screenshots/img2.gif rename to .github/screenshots/img2.gif diff --git a/LICENSE b/LICENSE.txt similarity index 100% rename from LICENSE rename to LICENSE.txt diff --git a/LICENSE.txt.meta b/LICENSE.txt.meta new file mode 100644 index 0000000..db5c2b9 --- /dev/null +++ b/LICENSE.txt.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 56436d3bf8363484a9696f11a535c2fb +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Plugins.meta b/Plugins.meta new file mode 100644 index 0000000..f378f09 --- /dev/null +++ b/Plugins.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d2008cf328f1a2e4da790e4bdd4191cd +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Plugins/AssetUsageDetector/Editor/AssetUsageDetector.Editor.asmdef b/Plugins/AssetUsageDetector/Editor/AssetUsageDetector.Editor.asmdef new file mode 100644 index 0000000..9dc8dd4 --- /dev/null +++ b/Plugins/AssetUsageDetector/Editor/AssetUsageDetector.Editor.asmdef @@ -0,0 +1,15 @@ +{ + "name": "AssetUsageDetector.Editor", + "references": [], + "includePlatforms": [ + "Editor" + ], + "excludePlatforms": [], + "allowUnsafeCode": false, + "overrideReferences": false, + "precompiledReferences": [], + "autoReferenced": true, + "defineConstraints": [], + "versionDefines": [], + "noEngineReferences": false +} \ No newline at end of file diff --git a/Plugins/AssetUsageDetector/Editor/AssetUsageDetector.Editor.asmdef.meta b/Plugins/AssetUsageDetector/Editor/AssetUsageDetector.Editor.asmdef.meta new file mode 100644 index 0000000..a29079c --- /dev/null +++ b/Plugins/AssetUsageDetector/Editor/AssetUsageDetector.Editor.asmdef.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 8579ab42c9ab63d4bac5fb07bd390b46 +AssemblyDefinitionImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/package.json b/package.json new file mode 100644 index 0000000..4ec60fd --- /dev/null +++ b/package.json @@ -0,0 +1,6 @@ +{ + "name": "com.yasirkula.assetusagedetector", + "displayName": "Asset Usage Detector", + "version": "1.7.7", + "description": "This editor extension helps you figure out at which places an asset or GameObject is used, i.e. lists the objects that refer to the asset. It is possible to search for references in the Assets folder (Project view) and/or in the scene(s) of your project. You can also search for references while in Play mode!" +} \ No newline at end of file diff --git a/package.json.meta b/package.json.meta new file mode 100644 index 0000000..e906fa6 --- /dev/null +++ b/package.json.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: ce102123c0ff0a6429f8d5f930e77d96 +PackageManifestImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: