docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddReward

    AddReward(BaseTransactionAsset, CurrencyAsset, long)

    Declaration
    public static void AddReward(this BaseTransactionAsset @this, CurrencyAsset currency, long amount)
    Parameters
    Type Name Description
    BaseTransactionAsset this
    CurrencyAsset currency
    long amount

    AddReward(BaseTransactionAsset, InventoryItemDefinitionAsset, long)

    Declaration
    public static void AddReward(this BaseTransactionAsset @this, InventoryItemDefinitionAsset item, long amount)
    Parameters
    Type Name Description
    BaseTransactionAsset this
    InventoryItemDefinitionAsset item
    long amount
    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)