This sample demonstrate how you can define one of your collections as Addressable and use the new Code Generation API to load and unload it.
- Make sure you have the Addressables package installed on your project
- Open the
Assets/Samples/Scriptable Object Collection/2.3.1/Addressables Loaded Collection/Scenes/AddressablesLoadedCollectionScene.unityscene - Make sure you set the
Assets/Samples/Scriptable Object Collection/2.3.1/Addressables Loaded Collection/Databaseas Addressable - Generate the static file using the
Generate Static Filebutton - This should give you access to the static methods to load and unload the collection like the example file
Assets/Samples/Scriptable Object Collection/2.3.1/Addressables Loaded Collection/Scripts/AddressablesExample.cs