public void OnClickTipHand() { string cmd = _gameAI.GetPlayCommand(ListPokerInHand, _deck); List <string> listStr = BigTwoCommandQueue.Instance.SplitCMDToList(cmd); List <BigTwoPoker> listPoker = _deck.GetPokerListFromPokerCMDListStr(listStr); for (int i = 0; i < _listPokerInHand.Count; i++) { BigTwoPoker pokerInHand = _listPokerInHand [i]; for (int j = 0; j < listPoker.Count; j++) { BigTwoPoker pokerInTip = listPoker [j]; if (pokerInHand == pokerInTip) { pokerInHand.IsSelected = true; break; } } } }