Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question CreateGroup() with a second schema template

Discussion in 'Addressables' started by douglassophies, Jul 1, 2021.

  1. douglassophies

    douglassophies

    Joined:
    Jun 17, 2012
    Posts:
    141
    I can create groups in an editor script with something like the below:
    Code (CSharp):
    1. group = settings.CreateGroup(campaignName, false, false, false, settings.DefaultGroup.Schemas);
    I set the defaults by editing the Packed Assets file in the AssetGroupTemplates folder.
    Now i am looking to create another set of defaults but i have no idea how to change the last parameter to point at my new .asset template