docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ConfigurationBuilder

    Builds configuration for Unity Purchasing, consisting of products and store specific configuration details.

    Inheritance
    object
    ConfigurationBuilder
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    In This Article
    Back to top
    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