Method CreateLocationsForPlayerData
CreateLocationsForPlayerData(PlayerDataGroupSchema, AddressableAssetGroup, List<ContentCatalogDataEntry>, HashSet<Type>)
Utility method for creating locations from player data.
Declaration
protected bool CreateLocationsForPlayerData(PlayerDataGroupSchema playerDataSchema, AddressableAssetGroup assetGroup, List<ContentCatalogDataEntry> locations, HashSet<Type> providerTypes)
Parameters
| Type | Name | Description |
|---|---|---|
| PlayerDataGroupSchema | playerDataSchema | The schema for the group. |
| AddressableAssetGroup | assetGroup | The group to extract the locations from. |
| List<ContentCatalogDataEntry> | locations | The list of created locations to fill in. |
| HashSet<Type> | providerTypes | Any unknown provider types are added to this set in order to ensure they are not stripped. |
Returns
| Type | Description |
|---|---|
| bool | True if any legacy locations were created. This is used by the build scripts to determine if a legacy provider is needed. |