Example #1
0
 /// <summary>
 /// 刷新使用
 /// </summary>
 /// <param name="isOther">这个参数可以控制显示UI</param>
 protected virtual void RefresheShow(bool isOther)
 {
     if (HasToken && OnGetNewCard())
     {
         if (isOther)
         {
             ShowCardList.Remove(0);
         }
         else
         {
             ShowCardList.Remove(LastGetValue);
         }
     }
     MahjongEnv.RefreshHandList(ShowCardList);
 }
Example #2
0
 /// <summary>
 ///     刷新使用
 /// </summary>
 /// <param name="isOther">这个参数可以控制显示UI</param>
 protected virtual void RefresheShow(bool isOther)
 {
     if (HasToken && OnGetNewCard())
     {
         if (isOther)
         {
             ShowCardList.Remove(0);
         }
         else
         {
             ShowCardList.Remove(LastGetValue);
         }
         YxDebug.Log(string.Format("玩家{0},name{1}存在token,在打牌时删除一张牌", UserInfo.name, UserInfo.name));
     }
     MahjongEnv.RefreshHandList(ShowCardList);
 }