Ejemplo n.º 1
0
 protected override void ClearUIComponents()
 {
     Background  = null;
     UITopStatus = null;
     BtnGold     = null;
     BtnDiamand  = null;
     Contents    = null;
     UIShopGold  = null;
     mData       = null;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 显示金币商品列表
 /// </summary>
 public void ShowProductGemList()
 {
     foreach (ProductGoldModel model in ProductGoldData.ProductGoldDataList)
     {
         UIShopGold.Instantiate()
         .Parent(Contents)
         .LocalIdentity()
         .ApplySelfTo(self =>
         {
             self.ProductGoldModel = model;
             self.Show();
         });
     }
 }