コード例 #1
0
        private static UnityEditor.AddressableAssets.Settings.AddressableAssetGroup FindOrCreateGroup(string groupName)
        {
            var group = settings.FindGroup(groupName);

            if (group is null)
            {
                group = settings.CreateGroup(groupName, false, false, true, settings.DefaultGroup.Schemas);
            }
            return(group);
        }
コード例 #2
0
 private static UnityEditor.AddressableAssets.Settings.AddressableAssetGroup FindOrCreateGroup(string groupName)
 {
     return(settings.FindGroup(groupName) ?? settings.CreateGroup(groupName, false, false, true, settings.DefaultGroup.Schemas));
 }