Skip to content

Releases: brunomikoski/ScriptableObjectCollection

Simplified Multiple Collections display

31 Mar 07:12
da45b14
Compare
Choose a tag to compare

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

30 Mar 22:02
084bf5f
Compare
Choose a tag to compare

Changed

  • Renamed the Collectable for CollectionItem 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 from Collection 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

Fixed issues:
#63 #62 #61 #60 #51

Quality fo Life and Contributions

17 Feb 21:34
5b52c5d
Compare
Choose a tag to compare

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

06 Dec 20:42
9ec9cf9
Compare
Choose a tag to compare

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

06 Dec 16:54
a7671d3
Compare
Choose a tag to compare

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

28 Oct 22:37
1b2fc9a
Compare
Choose a tag to compare

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

26 Oct 09:39
7f040e6
Compare
Choose a tag to compare

[1.3.0]

Added

  • Advanced dropdown for better searching on big collections;

QoL Features

14 Oct 21:08
8f5ee34
Compare
Choose a tag to compare

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 by Collection.Values or Collectable.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

07 Oct 08:07
86c00d9
Compare
Choose a tag to compare

Changed

  • Fixed issue when trying to create a new type from abstract using the new Collectable editor.

New Collectable Creator Window and bug fixes

28 Sep 21:03
4e0b9ed
Compare
Choose a tag to compare

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.