docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Virtual Transactions

    Overview

    A Virtual Transaction is a catalog item dedicated to purchases using virtual currencies and counterparts.

    This type of transaction has 2 specifics fields:

    • Costs: it describes the inputs from the transaction, the list of items and currencies the player needs to consume when processing this transaction.
    • Rewards: it describes the outcome from the transaction, the list of items and currencies the player receives when processing this transaction.

    The process of consuming the costs, and generating the rewards is done by the Transaction Manager.

    Editor Overview

    Open the Transaction window by going to Window → Game Foundation → Transaction. The Transaction window will let you configure both Virtual Transactions and IAP Transactions.

    The Virtual Transaction Editor Window

    The interface is similar to the other catalog items.

    (1) The Costs section show a list of currencies and item definitions. Those are the input of the transaction. The amounts next to each entry are the number of those items the transaction will consume in order to produce the rewards.

    (2) The Rewards section show a list of currencies and item definitions. Those are the output of the transaction. The amounts next to each entry are the number of those items the player will get from the transaction.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)