docs.unity.cn
    Show / Hide Table of Contents

    Class CurrencyConfig

    Configurator the a Currency instance.

    Inheritance
    Object
    CatalogItemConfig
    CatalogItemConfig<Currency>
    CurrencyConfig
    Inherited Members
    CatalogItemConfig<Currency>.CompileGeneric()
    CatalogItemConfig<Currency>.LinkGeneric(CatalogItem, Dictionary<String, CatalogItem>)
    CatalogItemConfig<Currency>.Compile()
    CatalogItemConfig<Currency>.Link(Currency, Dictionary<String, CatalogItem>)
    CatalogItemConfig<Currency>.LinkItem(Currency, Dictionary<String, CatalogItem>, Rejectable)
    CatalogItemConfig<Currency>.DoRequireDisplayName()
    CatalogItemConfig.key
    CatalogItemConfig.displayName
    CatalogItemConfig.tags
    CatalogItemConfig.staticProperties
    Namespace: UnityEngine.GameFoundation.Configs
    Syntax
    public sealed class CurrencyConfig : CatalogItemConfig<Currency>, IBuildable<Currency>

    Fields

    maximumBalance

    The maximum balance for the currency.

    Declaration
    public long maximumBalance
    Field Value
    Type Description
    Int64

    type

    The type of the currency.

    Declaration
    public CurrencyType type
    Field Value
    Type Description
    CurrencyType

    Methods

    CompileItem(Rejectable)

    Create a new TRuntimeObject.

    Declaration
    protected override Currency CompileItem(Rejectable rejectable)
    Parameters
    Type Name Description
    Rejectable rejectable
    Returns
    Type Description
    Currency

    Return a promise handle to report how the operation went. The handle's result is the compiled item if the compilation was successful.

    Overrides
    UnityEngine.GameFoundation.Configs.CatalogItemConfig<UnityEngine.GameFoundation.Currency>.CompileItem(UnityEngine.Promise.Rejectable)
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 16 June 2021