Class CrossPromoCard
Declaration
public class CrossPromoCard : MonoBehaviour
Properties
LoadManually
Gets a value indicating whether this card will be loaded manually
Declaration
public bool LoadManually { get; }
Resolution
Sets the resolution of the displayed image. Set this before Load()
Declaration
public Resolution Resolution { get; set; }
ShowPinnedPromo
Forces this card to show only the pinned promotion. Pinned promotion is set from remote config
Declaration
public bool ShowPinnedPromo { get; set; }
PromoMap
Sets the special promo id to be shown. For example, if there is a special promotion for level 15, set this to level15 and that promotion will be displayed
Declaration
public string PromoMap { get; set; }
PlayVideo
Gets or sets a value that controls whether the card should display video promotion instead of image, if available. Make sure to set this before promotion is loaded.
Declaration
public bool PlayVideo { get; set; }
Methods
Load()
If card is not auto loaded on enable, use this to manually load the card. If card is marked as load on enable, this method will do nothing
Declaration
public void Load()