You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,18 @@ There are 5 ways to install this plugin:
37
37
38
38

39
39
40
+
## ADDRESSABLES SUPPORT
41
+
42
+
This plugin has experimental support for *Addressables* package. However, the search may take significantly longer to finish when Addressables are searched. Some manual modifications are needed to enable Addressables support:
43
+
44
+
- The plugin mustn't be installed as a package, i.e. it must reside inside the *Assets* folder and not the *Packages* folder (it can reside inside a subfolder of Assets like *Assets/Plugins*)
45
+
- Modify the **AssetUsageDetector.Editor** Assembly Definition File as follows:
- If *Version Defines* isn't present (on older Unity versions), manually add `ASSET_USAGE_ADDRESSABLES` compiler directive to **Player Settings/Scripting Define Symbols** (these symbols are platform specific, so if you change the active platform later, you'll have to add the compiler directive again)
50
+
- Enable the "Addressables support" option in Asset Usage Detector window
51
+
40
52
## SEARCH REFACTORING
41
53
42
54
While searching for references using the Scripting API, it's possible to get notified of the found references *during* the search (some references like *Assembly Definition File* references or *Shader Graph* references aren't supported) and in most cases, refactor them (e.g. changing all usages of a searched object with something else or *null*). Disabling *Lazy Scene Search* is recommended while using this feature and it's advised to backup your project beforehand.
lazySceneSearch=WordWrappingToggleLeft("Lazy scene search: scenes are searched in detail only when they are manually refreshed (faster search)",lazySceneSearch);
571
+
#if ASSET_USAGE_ADDRESSABLES
572
+
EditorGUI.EndDisabledGroup();
573
+
addressablesSupport=WordWrappingToggleLeft("Addressables support (WARNING: 'Lazy scene search' will be disabled) (slower search)",addressablesSupport);
Copy file name to clipboardExpand all lines: Plugins/AssetUsageDetector/README.txt
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
= Asset Usage Detector (v2.2.3) =
1
+
= Asset Usage Detector (v2.3.0) =
2
2
3
3
Online documentation available at: https://github.com/yasirkula/UnityAssetUsageDetector
4
4
E-mail: yasirkula@gmail.com
@@ -8,6 +8,15 @@ E-mail: yasirkula@gmail.com
8
8
This tool helps you find usages of the selected asset(s) and/or scene object(s), i.e. lists the objects that refer to them.
9
9
10
10
11
+
### ADDRESSABLES SUPPORT
12
+
This plugin has experimental support for Addressables package. However, the search may take significantly longer to finish when Addressables are searched. Some manual modifications are needed to enable Addressables support:
13
+
14
+
- The plugin mustn't be installed as a package, i.e. it must reside inside the Assets folder and not the Packages folder (it can reside inside a subfolder of Assets like Assets/Plugins)
15
+
- Add ASSET_USAGE_ADDRESSABLES compiler directive to "Player Settings/Scripting Define Symbols" (these symbols are platform specific, so if you change the active platform later, you'll have to add the compiler directive again)
16
+
- Add "Unity.Addressables" assembly to "AssetUsageDetector.Editor" Assembly Definition File's "Assembly Definition References" list
17
+
- Enable the "Addressables support" option in Asset Usage Detector window
18
+
19
+
11
20
### HOW TO
12
21
- Open "Window-Asset Usage Detector" window, configure the settings and hit "GO!". You can also right click an object and select "Search For References"
0 commit comments