Method SetAutoGeneratePromotionImage
SetAutoGeneratePromotionImage(string, string, string)
Set the image used for the promotion should be auto generated.
Declaration
public void SetAutoGeneratePromotionImage(string itemIconSpriteName, string itemCountPrefix = "x", string currencyCountPrefix = "x")
Parameters
| Type | Name | Description |
|---|---|---|
| string | itemIconSpriteName | The sprite asset name for the icon of the inventory or currency items listed in the transaction's Rewards, as specified in their Asset details. |
| string | itemCountPrefix | The string to prefix the reward inventory item counts when auto generating the promotion image. |
| string | currencyCountPrefix | The string to prefix the reward currency counts when auto generating the promotion image. |