docs.unity3d.com
    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
    Boolean

    True if any legacy locations were created. This is used by the build scripts to determine if a legacy provider is needed.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023