Example #1
0
 protected override void ClearUIComponents()
 {
     Background  = null;
     UITopStatus = null;
     BtnGold     = null;
     BtnDiamand  = null;
     Contents    = null;
     UIShopGold  = null;
     mData       = null;
 }
Example #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();
         });
     }
 }