Exemplo n.º 1
0
 public override void Reset()
 {
     base.Reset();
     _isFinish = false;
     _selectInfo.Reset();
     _specialDuns = null;
     if (SpecialBtn != null)
     {
         SpecialBtn.gameObject.SetActive(false);
     }
     OnClickCancelAllBtn();
 }
Exemplo n.º 2
0
        /// <summary>
        /// 重新选择赋值该行
        /// </summary>
        public void Reselect()
        {
            int childCount = PokerParent.transform.childCount;

            for (int i = 0; i < childCount; i++)
            {
                PokerParent.GetChild(i).gameObject.SetActive(false);
            }
            SetLineState(false);

            var cards = _lineInfo.SelectedCards;

            foreach (var card in cards)
            {
                card.gameObject.SetActive(true);
            }
            _lineInfo.Reset();
        }