Commit Graph

19 Commits

Author SHA1 Message Date
Süleyman Yasir KULA a29dc59a75 - Now using GUI instead of GUILayout to draw the search results which results in much better GUI performance
- Fixed a StackOverflowException
2019-11-19 23:07:25 +03:00
Süleyman Yasir KULA 96315ec435 For references found inside enumerators like arrays, reflection algorithm now shows the array index that the reference is found at instead of a generic "(IEnumerable)" 2019-11-10 12:34:51 +03:00
Süleyman Yasir KULA 12ed06d43c - Added Refresh button to groups (scene/project window) in search results page to refresh the search results for that particular group
- Added collapse/expand button to groups in search results page
- Added lazy scene search option: when enabled, unloaded scenes that have potential references are not loaded immediately; instead, they are searched on demand (via Refresh button)(faster search)
- Search algorithm now prefers SerializedObjects when possible, uses reflection as fallback
- Added "Search for References" to Hierarchy objects' right-click context menu
- Searching for references of objects in prefab mode is now supported
- A simple search progress bar is now always shown, but is not refreshed frequently unless "Show detailed progress bar" is enabled and thus, it won't affect the search performance noticably
- Removed settings like "Search properties" and "Search depth", it doesn't make much sense to limit the search algorithm in an asset whose sole purpose is to find "all" references
- Removed "Select All (GameObject-wise)" and "Select All (Component-wise)" buttons (use CTRL or Shift keys to enable multi-select while clicking search entries in results page)
- Double clicking a prefab entry in search results page will now open that prefab in prefab mode
2019-11-09 17:22:35 +03:00
Süleyman Yasir KULA 69ce197932 Catching MissingComponentException 2019-10-18 23:53:25 +03:00
Süleyman Yasir KULA e3dc45b917 - Fixed FileNotFoundException on directories
- Fixed NullReferenceException on properties without a getter
- Fixed ArgumentException on pointer types
2019-10-15 22:40:06 +03:00
Süleyman Yasir KULA 3719ce7473 Fixes #13 2019-09-28 12:54:50 +03:00
Süleyman Yasir KULA b4b3e7d7b3 Fixed "Scenes in Build Settings" always being true 2019-09-20 23:09:44 +03:00
Süleyman Yasir KULA 0cd657456d - Fixed cache issue that occurred after an asset was renamed
- Added an option to include non-serializable objects in search since some seemingly non-serializable Unity types are actually serialized with Unity magic (e.g. AnimatorControllerLayer)
- It is now possible to exclude some asset(s) and/or scene(s) from the search
- Added optional progressbar
2019-09-20 01:28:15 +03:00
Süleyman Yasir KULA 64eb175f8f Fixes #10 2019-08-10 14:16:17 +03:00
Süleyman Yasir KULA 06fbd6cb96 Updated README 2019-08-03 21:14:58 +03:00
Süleyman Yasir KULA 3cea7a93e7 - Added "Assets/Search For References" context menu item to quickly search for the selected object(s)' references
- Added AssetUsageDetectorWindow.ShowAndSearch function to initiate a search from editor scripts
- Object references added to animation events are now searched
- Faster serialization/deserialization of the cache (replaced BinaryFormatter with BinaryWriter, this will trigger a new cache initialization at first search)
- Some UI elements now use a different GUIStyle (for better readability on dark skin)
2019-08-03 21:06:06 +03:00
Süleyman Yasir KULA dc6e9de462 - Fixed StackOverflowException in AssetHasAnyReferenceTo
- Much better support for AnimatorControllers
- Fixed an issue with scenes sometimes not getting searched properly in play mode
- Some more performance optimizations
2019-07-26 23:53:42 +03:00
Süleyman Yasir KULA 7eebd05c2f Fixed SpriteAtlas error on versions 2017.1 to 2018.1 2019-07-20 00:25:42 +03:00
Süleyman Yasir KULA 64408e3eb2 - Bugfix for System.Reflection.Assembly variables throwing exceptions on .NET 4.0 runtime
- Preferences in Asset Usage Detector window are now saved
- Moved utility/internal classes into separate namespace
2019-07-06 13:06:20 +03:00
Süleyman Yasir KULA d8c7d7b1e6 - Simplified the output nodes:
- multiple links from same node to same node are combined into a single node
  - root nodes that are part of another node's siblings are omitted
- Added Timeline, Sprite Atlas and Tilemap support
- Bugfix for structs' property getters throwing exception
2019-07-06 02:05:34 +03:00
Süleyman Yasir KULA 50820f7cb6 - Made AssetUsageDetector a standalone editor script, so you can now use it in your own editor scripts to calculate some objects' references
- Separated more classes into different scripts
2019-07-02 19:43:40 +03:00
Süleyman Yasir KULA b804967674 - Searching references in a subset of the Project view (Assets folder) is now possible 2019-07-01 23:49:00 +03:00
Süleyman Yasir KULA fcbfcb41cf - Each searched asset now has its own toggleable sub-assets
- Adding folders to searched assets is now possible
2019-07-01 23:29:50 +03:00
Süleyman Yasir KULA 8d3e8e7738 - Caching asset dependencies for faster calculations
- Dependencies are checked via their paths, so loading the asset is not necessary and much less memory will be used
- Separated AssetUsageDetector.cs into smaller classes
2019-07-01 23:27:21 +03:00