/// <summary>
 /// Sets the ad block.
 /// </summary>
 /// <param name="pItem">P item.</param>
 private void SetAdBlock(XsollaShopItem pItem)
 {
     StyleManager.BaseSprite lItemBckg = ShopItemHelper.SetAdBlockItem(pItem, mUtils, mAdPanel.GetComponentInChildren <Text>(), mAdPanel.GetComponent <Image>());
     if ((lItemBckg == StyleManager.BaseSprite.bckg_item) && (mIsListLayoutItem))
     {
         mAdPanel.SetActive(false);
     }
     SetSpecialAdBkcg(lItemBckg);
 }
Ejemplo n.º 2
0
 private void SetAdBlock(XsollaPricepoint pItem)
 {
     StyleManager.BaseSprite lItemBckg = ShopItemHelper.SetAdBlockItem(pItem, mUtils, mAdPanel.GetComponentInChildren <Text>(), mAdPanel.GetComponent <Image>());
     SetSpecialAdBkcg(lItemBckg);
 }