Skip to content

Releases: brunomikoski/ScriptableObjectCollection

2.0.9

24 Aug 16:54
1face07

Choose a tag to compare

Changed

  • Editor serialization issues with new drawing methods.
  • Added sorting options for collections
  • Added option to make the collection not reorderable
  • Fixed issue with asset post-processing and recent imported files

What's Changed

Full Changelog: v2.0.8...v2.0.9

2.0.8

22 Aug 21:05
dc993ff

Choose a tag to compare

Changed

  • Fixed a small typo in the package description.
  • Since [2.0.3] the collection now uses the Editor for drawing the items on the collection, but this can cause some issues depending of how customized it is inside a ReorderableList, so you can now choose the item to use or not by toggling the Use Custom Editor inside the advanced settings
  • Upgraded the CollectionCustomEditor to use BaseEditor
  • Updated CollectionItemPicker<> to use IndirectReference<> to store the items, since it also contains the LongGuid reference to the Collection, allowing it to work with multiple collections of the same time (It should automatically upgrade to the new version automatically)
  • Added ability to compare CollectionItemPicker<> to a IList<> of the same type
  • Other minor fixes and improvements

What's Changed

Full Changelog: v2.0.7...v2.0.8

v2.0.7

10 Aug 13:55

Choose a tag to compare

[2.0.7]

Changed

  • Moved EditorPreference to Runtime folder. It is safe and useful to be able to use it in runtime code.

Fix Picker and other tweaks

07 Aug 19:27

Choose a tag to compare

Changed

  • Added IsValid() method for indirect references
  • Added more checks and logs for when regenerating guids and cleaning bad items from collection
  • Fixed issue with CollectionItemPicker not respecting base type as the starting type
  • Removed the Application.isPlaying check for when setting items dirt

Removed

  • Unused ScriptableObjectForPreferences

Full Changelog: v2.0.5...v2.0.6

Bug fixes and QoL changes

02 Aug 21:02

Choose a tag to compare

Changed

  • Reverted the change where the isExpanded property would be shared between the collection editor and the property drawer.
  • Renamed ObjectType to TObjectType to keep standardized
  • Added TryGetItemByName for the ScriptableObjectCollection.cs
  • Added extra safety methods for checking duplicated Guids on collections and collection items
  • Properly implemented CollectionItemPicker IEnumerator<TItemType> GetEnumerator()

Full Changelog: v2.0.4...v2.0.5

Optimizations and Improvements

21 Jul 19:03
4417b4a

Choose a tag to compare

[2.0.4]

Changed

  • Added boolean check for static generated files to improve performance
  • Changed settings to be stored on ProjectSettings folder and be shared by subversion
  • Fixed CollectionItemPickerPropertyDrawer to support multiple collections of the same type
  • Other small optimizations and code formatting

What's Changed

Full Changelog: v2.0.3...v2.0.4

Custom Editors inside Collecction View

11 Jul 12:02
bf5d2ba

Choose a tag to compare

What's Changed

Full Changelog: v2.0.2...v2.0.3

Bug fixes and Improvements

01 Jun 13:21

Choose a tag to compare

What's Changed

  • Fixed editor only items causing issues when the project recompiles during playmode.
  • Added option to disable automatically reloading of collection on the CollectionRegistry
  • Updated Labels from CollectionItemPicker to use black as the default interface
  • Added some helpers to help project upgrade
  • Added [DrawAsSOCItem] attribute to allow drawing of custom ScriptableObjec that implements ISOCItem as a CollectionItem, this is only necessary for unity versions below 2022, and should not affect anything else.
  • Synchronize Assets button on the Collection will also perform a reload of the collection

Full Changelog: v2.0.1...v2.0.2

A lot of improvements and bug fixing

04 Apr 21:36
da07437

Choose a tag to compare

Changed

  • Refactored CollectionItemPicker to only use LongGUID and also the PropertyDrawer has been remade, now looks nicer 🤩
  • Added multiple helpers to CollectionItemPicker to be used more like a label system/
  • Added ISOCColorizedItem to allow coloring of the CollectionItemPicker on the inspector, I will expand this to other areas as well.
  • Fixed issue with name parser that would still treat digits as string and added to the final name
  • Fixed issue with PropertyDrawer of indirect reference without attribute would cause a null reference
  • Refactored the system to use ScriptableObject as a base class instead of ScriptableObjectCollectionItem now any ScriptableObject can be used as a collection item as long as implements the ISCOItem interface
  • Fixed issue with CollectionItemPicker that would not work properly with ScriptableObject that are not in the same assembly as the ScriptableObjectCollection
  • Added new buttons on CollectionRegistry to force guid validation on all items
  • Reduced automatic collection guid reloading to reduce performance impact on larger projects
  • Fixed issues with target scripts generation folder not being saved properly
  • Minimum supported Unity version is now 2021 (I'm DONE with 2020, its the worst unity ever 😒)

Removed

  • Removed support for Addressables, it was not working properly and it was not being used by a lot of teams, I think the addressables support should be handled elsewhere.

Breaking Changes

  • If you used the Addressables integration SOC_ADDRESSABLES_SUPPORT be extra careful when upgrading
  • The old string based guid system has been replaced for a lighter version LongGuid
  • If you are using IndirectReferences all the references will be lost, you will need to re-set them

Upgrade Guide from 1.x.x to 2.x.x

  • Update the package
  • Make sure you click on the CollectionRegistry and click on the Validate Collections button
  • Regenerate all your Static Code Files

ISOCEnum and a lot of other fixes

02 Apr 18:05
61ef012

Choose a tag to compare

What's Changed

Changed

  • Fixed issue with name parser that would still treat digits as string and added to the final name
  • Fixed issue with PropertyDrawer of indirect reference without attribute would cause a null reference
  • Refactored the system to use ScriptableObject as a base class instead of ScriptableObjectCollectionItem now any ScriptableObject can be used as a collection item as long as implements the ISCOItem interface
  • Fixed issue with CollectionItemPicker that would not work properly with ScriptableObject that are not in the same assembly as the ScriptableObjectCollection
  • Added new buttons on CollectionRegistry to force guid validation on all items
  • Reduced automatic collection guid reloading to reduce performance impact on larger projects
  • Fixed issues with target scripts generation folder not being saved properly
  • Minimum supported Unity version is now 2021 (I'm DONE with 2020, its the worst unity ever 😒)
  • Refactored CollectionItemPicker to only use LongGUID and also the PropertyDrawer has been remade, now looks nicer 🤩
  • Added multiple helpers to CollectionItemPicker to be used more like a label system/
  • Added ISOCColorizedItem to allow colouring of the CollectionItemPicker on the inspector, I will expand this to other areas as well.

Removed

  • Removed support for Addressables, it was not working properly and it was not being used by a lot of teams, I think the addressables support should be handled elsewhere.

Breaking Changes

  • If you used the Addressables integration SOC_ADDRESSABLES_SUPPORT be extra careful when upgrading
  • The old string based guid system has been replaced for a lighter version LongGuid
  • If you are using IndirectReferences all the references will be lost, you will need to re-set them

Upgrade Guide from 1.x.x to 2.x.x

  • Update the package
  • Make sure you click on the CollectionRegistry and click on the Validate Collections button
  • Regenerate all your Static Code Files

Full Changelog: v1.9.6...2.0.0