Method SetCatalogProviderFunction
SetCatalogProviderFunction(Action<Action<HashSet<ProductDefinition>>>)
Informs Unity Purchasing about a catalog provider function, which might replace or add products at runtime. This is an alternative to the SetCatalogProvider API for setting a catalog provider that does not implement the ICatalogProvider interface.
Declaration
void SetCatalogProviderFunction(Action<Action<HashSet<ProductDefinition>>> func)
Parameters
Type | Name | Description |
---|---|---|
Action<Action<HashSet<ProductDefinition>>> | func | The action that executes the addition of modificiation of products |