Class VirtualTransactionAsset
Description for VirtualTransaction
Inheritance
Inherited Members
Namespace: UnityEngine.GameFoundation.DefaultCatalog
Syntax
public sealed class VirtualTransactionAsset : BaseTransactionAsset<VirtualTransaction, VirtualTransactionConfig>, ISerializationCallbackReceiver
Properties
costs
The costs of the VirtualTransactionAsset.
Declaration
public TransactionExchangeDefinitionObject costs { get; }
Property Value
Type | Description |
---|---|
TransactionExchangeDefinitionObject |
Methods
AwakeTransaction()
Overriden by inherited classes to initialize specific members.
Declaration
protected override void AwakeTransaction()
Overrides
ConfigureTransaction(CatalogBuilder, IExternalValueProvider)
Configures the specified builder
with the specific content of this transaction.
Declaration
protected override VirtualTransactionConfig ConfigureTransaction(CatalogBuilder builder, IExternalValueProvider valueProvider)
Parameters
Type | Name | Description |
---|---|---|
CatalogBuilder | builder | The target builder. |
IExternalValueProvider | valueProvider | A value provider to override some catalog item's data with an external source when configuring them. |
Returns
Type | Description |
---|---|
VirtualTransactionConfig | The config object. |