Class CurrencyExchange
Describes the currency change of a Payout or a TransactionCosts.
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 |