docs.unity.cn
    Show / Hide Table of Contents

    Interface ICatalogProvider

    Abstract Catalog Provider, facilitating the retrieval of a catalog's products.

    Namespace: UnityEngine.Purchasing.Extension
    Syntax
    public interface ICatalogProvider

    Methods

    FetchProducts(Action<HashSet<ProductDefinition>>)

    Fetch all the products in the catalog, asynchronously.

    Declaration
    void FetchProducts(Action<HashSet<ProductDefinition>> callback)
    Parameters
    Type Name Description
    Action<HashSet<ProductDefinition>> callback

    Event containing the set of products upon completion.

    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Monday, February 13, 2023
    Terms of use