docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SetPromotionImage

    SetPromotionImage(string)

    Sets the promotion image asset name that will be used when displaying the user-provided promotion image and disable Auto Generate Promo Image (autoGeneratePromoImage).

    Declaration
    public void SetPromotionImage(string spriteAssetName)
    Parameters
    Type Name Description
    string spriteAssetName

    The sprite name that is defined on the transaction item's Assets Detail for the promotion image.

    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)