docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    • CreateLocationsForPlayerData(PlayerDataGroupSchema, AddressableAssetGroup, List<ContentCatalogDataEntry>, HashSet<Type>)
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)