docs.unity.cn
    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 Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, March 4, 2022
    Terms of use