Class ConfigurationBuilder
Builds configuration for Unity Purchasing, consisting of products and store specific configuration details.
Inherited Members
Namespace: UnityEngine.Purchasing
Assembly: solution.dll
Syntax
public class ConfigurationBuilder
Properties
| Name | Description |
|---|---|
| products | The set of products in the catalog. |
| useCatalogProvider | Whether or not the project will use the catalog stored on the cloud or the one cached locally. |
Methods
| Name | Description |
|---|---|
| AddProduct(string, ProductType) | Add a product to the configuration builder. |
| AddProduct(string, ProductType, IDs) | Add a product to the configuration builder. |
| AddProduct(string, ProductType, IDs, IEnumerable<PayoutDefinition>) | Add a product to the configuration builder. |
| AddProduct(string, ProductType, IDs, PayoutDefinition) | Add a product to the configuration builder. |
| AddProducts(IEnumerable<ProductDefinition>) | Add multiple products to the configuration builder. |
| Configure<T>() | Configure the store as specified by the template parameter. |
| Instance(IPurchasingModule, params IPurchasingModule[]) | Create an instance of the configuration builder. |