예제 #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();
         });
     }
 }