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