Esempio n. 1
0
 protected override void ClearUIComponents()
 {
     Background  = null;
     UITopStatus = null;
     BtnDiamand  = null;
     BtnGold     = null;
     Contents    = null;
     UIShopGem   = null;
     mData       = null;
 }
Esempio n. 2
0
 /// <summary>
 /// 显示钻石商品列表
 /// </summary>
 public void ShowProductGemList()
 {
     foreach (ProductGemModel model in ProductGemData.ProductGemDataList)
     {
         UIShopGem.Instantiate()
         .Parent(Contents)
         .LocalIdentity()
         .ApplySelfTo(self =>
         {
             self.ProductGemModel = model;
             self.Show();
         });
     }
 }