docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetBalance

    GetBalance(Currency)

    Gets the balance of the specified Currency.

    Declaration
    public static long GetBalance(Currency currency)
    Parameters
    Type Name Description
    Currency currency

    The currency you want the balance of.

    Returns
    Type Description
    long

    The balance of the specified currency.

    GetBalance(string)

    Gets the balance of the specified Currency.

    Declaration
    public static long GetBalance(string currencyId)
    Parameters
    Type Name Description
    string currencyId

    The id of the currency you want the balance of.

    Returns
    Type Description
    long

    The balance of the specified currency.

    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)