ISOCEnum and a lot of other fixes
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 anyScriptableObject
can be used as a collection item as long as implements theISCOItem
interface - Fixed issue with
CollectionItemPicker
that would not work properly withScriptableObject
that are not in the same assembly as theScriptableObjectCollection
- 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 useLongGUID
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 theCollectionItemPicker
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 theValidate Collections
button - Regenerate all your Static Code Files
Full Changelog: v1.9.6...2.0.0