Releases: brunomikoski/ScriptableObjectCollection
Releases · brunomikoski/ScriptableObjectCollection
Stabilization and QoL improvements
Changed
- BREAKING CHANGE Removed Obsolete methods related to Previous Naming, if you are still on version bellow [1.5.4] consider implementing the suggested warnings before upgrading
ScriptableObjectCollectionits now abstract to avoid issues mentioned here here- Fixed partial toggle has been disabled when non-target generated folder is set
- Fixed issue when its not possible to read the current
ScriptableObjectItemassembly @RoyTheunissen - Fixed a bunch of grammar mistakes on the Readme file @RoyTheunissen
- Added more information to the faq @RoyTheunissen
- Replaced TypeUtility by Unity TypeCache
- Fixed issue when a broken script between a CollectionItem is missing would cause null references on the inspector
QoL Fixes
Added
- More display options (Hide Preview button / Hide GoTo Button) @FreezyExp
Changed
- Fixed null reference on the GoTo button on the indirect references. @FreezyExp
- Fixed warning from ResourceLoading @FreezyExp
- Fixed issue where CollectionRegistry would be stripped depending on the stripping level @FreezyExp
- More small improvements and changes (#83
Fix possible AOT issues
Changed
- Changed the
ResourceScriptableObjectSingletonto have generic type on methods again, to prevent AOT issues.
Delete Collection and bug fix
Added
- Added Delete Collection button under advanced settings, I will delete all the related assets and unregister from the registry
Changed
- Renamed the
Settingsmenu on the Collection Editor toAdvanced - Fixed an issue when drawing indirect references inside arrays.
Keyboard Shortcuts
Added
- Added arrow navigation on the Collection Editor, now you can navigate between items and expand/collapse it by left right
- You can now expand/collapse all items by holding alt while clicking on the foldout arrow, like default unity controls
Using ReorderableList on the Collection Editor.
Changed
- Refactored the
ScriptableObjectCollectionCustom Editorto useReorderableListinstead of the previous custom list drawer - Refactored the editor prefab property drawer to properly draw the
SerializedPropertiesof the item instead of displaying the custom inspector - Removed some old files and methods that aren't necessary anymore.
- When using the inline visualizer of the CollectionItem, it should now respect position (if is inside an array or custom propery drawer)
Added
- Added context click on the items, you can now Copy Paste values between collection items and Duplicate and Delete items when right click on it on the Editor
Hotfix - Destroying Collection
Changed
- Removed the asset destruction of the Collection on the
OnDestroyevent
IndirectReference Refactor
Changed
- Improved the Refreshing of the
CollectionRegistryto try to refresh when items are deleted/created - Refactored the
IndirectReferenceto not need a serialized version of theCollectionItemtype, so avoid any serialization issues - Renamed some of the editor classes to match the standard
Multiple Collections improvements
Changed
- In order to support multiple collections of the same type the check of the
ValuesI had to tweak how the instance of every instance is assigned, changed for theOnEnableof the collection item - Changed the Refresh of the collections to only find items under the same folder.
- Fixed a lot of scripts to work properly with multiple collections of the same type
- Added some logs when
CollectionItemsare added/removed from collections to help the visibility CollectionType.Valuesnow will return all theCollectionItemavailable on the registry, so if you have 2 Collections of the one Type this will return the content of both collections while theCollectionItem.Valueswhen the access file is generated will only return that specific collection item
Settings Revamp
Changed
- Removed the automatically reload of CollectionRegistry using the
DidReloadScriptscallback, this caused multiple issues on batch mode and on clear libraries - Converted the
Collectionreference on theCollectionItemto be a Lazy reference, since this was causing some dependency when usingCollectionItemas addressables - Refactored the
ScriptableObjectSettingsthis used to be a Resources object that was autoloaded, but this could also create unwanted dependencies between items. The settings for code generated are not stored inside the Collection itself. Make sure you delete theScriptableObjectsSettingsScriptableObject inside your resources folder. - Added a bunch of validation and verification for the Generation of the static access, making sure it only allows partial classes when is possible and other small checks.
- The settings are now on the Project Preferences where you can define the default folder for the Scriptable Objects and default namespace.