docs.unity.cn
    Show / Hide Table of Contents

    Class CurrencyExchange

    Describes the currency change of a Payout or a TransactionCosts.

    Inheritance
    Object
    CurrencyExchange
    Namespace: UnityEngine.GameFoundation
    Syntax
    public sealed class CurrencyExchange : ITradable

    Properties

    amount

    The amount of the currency. As a payout, this amount is added to the wallet. As a cost, this amount is removed from the wallet.

    Declaration
    public long amount { get; }
    Property Value
    Type Description
    Int64

    currency

    The currency of the exchange.

    Declaration
    public Currency currency { get; }
    Property Value
    Type Description
    Currency
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 16 June 2021