Releases: brunomikoski/ScriptableObjectCollection
Releases · brunomikoski/ScriptableObjectCollection
Simplified Multiple Collections display
Changed
- Simplified the multiple collection display to be a single line again, showing all the available items inside the
AdvancedDropdown
Multiple Collections of the same type support
Changed
- Renamed the
Collectable
forCollectionItem
this has several changes in multiple parts of the code, I tried my best to keep compatibility with the old version.CollectableScriptableObject
still exists but has the obsolete flag on it to avoid breakable changes. - Add
IsValid
to IndirectReferences to check if has valid data before being used - Refactored
ResourceScriptableObjectSingleton
to fix some warnings - Fixed the
GetEnumerator
fromCollection
warning - The
CollectionRegistry
now will only load Collections that are inside an active Assembly. - Exposed the
Collections
list on the Registry - Simplified the CollectionItem Dropdown (removed the type grouping)
- Multiple QoL improvements on the codebase.
Added
- A new information on the Collection custom editor to show the base class if is different from the collection type (Disabled for now)
- Exposed the namespace to be customized by the custom static file
- Added support of multiple collections of the same type on the registry, the
CollectionItemDrawer
will display a Collection dropdown if more than one collection for the same type of item is available
Quality fo Life and Contributions
Changed
- Fixed issue when using the Create Settings menu
- Added automatically open of the selected collectable when using the goto button on the CollectableProperty Drawer
- Added type-specific GetEnumerator for the Collection
Thanks @Thundernerd and @FreezyExp for the contributions
Refactoring and improvements
Added
- Added quick access to the .Values from the collection, to be used without code generation, you can now use
CustomCollection.Values
to gett all your items - Added a
GetValues()
to the generated static file, you can quickly get a filtered list of items that you need
Changed
- Changed Create Collection Wizzard to behave like a modal window that can loose focus.
- Removed the TryGet static access generation, was not been used and was causing some problems
New QoL and bug fixes
Added
- Automatically selection of the newly created item, for renaming
- Added keyword validation for names
- Added ability to create new items from the selection dropdown.
Changed
- Fixed issue when trying to play without the
CollectionRegistry
created
QoL and small new features
Added
- Added basic copy/paste functionality between colelctables
Changed
- Removed multiple
AssetDatabase.SaveAssets();
to improve general performance when adding / removing objects - Fixed indirect reference issues with the new Advanced Dropdown search
- Removed static
.Values
from the Colletion, was redundant and error prone
Advanced Dropdow
[1.3.0]
Added
- Advanced dropdown for better searching on big collections;
QoL Features
Changed
- Fixed issue with the Foldout issue, now showing multiple inherited collectables should work fine
- Improved the ADD New on the collection and what is displayed, and the the creation of new types is on a subfolder.
- Added static access to the
ScriptableObjectCollection<>.Values
- Renamed the generated Static value back to the
.Values
to keep in line with the static access. so you can now access byCollection.Values
orCollectable.Values
Added
- Support to create Collections / Collectables based on a Utils script, useful for another package creating the necessary Collection items.
Fixing abstract class bug
Changed
- Fixed issue when trying to create a new type from abstract using the new Collectable editor.
New Collectable Creator Window and bug fixes
Changed
- Fixed issue when duplicating assets caused a crash
- Fixed issue when deleting Scripts from base Collectables
Added
- Added new inspector to create new base types from the Editor.