Creating Addressable Asset Groups and Entries by script

Hi,

I was trying to create Addressable Asset Groups and Entries by script.
I have came across with the method AddressableAssetSettingsDefaultObject.Settings.CreateGroup()
and

AddressableAssetSettingsDefaultObject.Settings.CreateOrMoveEntry()

The problem is that the CreateGroup() method requires me to pass a list of GroupSchema and types. What are those things actually? I know when we create via GUI we need to select Packed asset, which is an asset group template, but how do I pass this into the above method?

I tried to dig through the manual but there are very limited resources about the schema, is it possible to have more information about this component in the future?

Many thanks!

Check out this thread.

2 Likes