public void PlayHandToSet(List <string> listStr, CallbackType.CallbackV doneCallback) { List <BigTwoPoker> listPoker = _deck.GetPokerListFromPlayCMDListStr(listStr); float timeWait = 0.2f; if (listPoker.Count > 0) { timeWait = 1.2f; } Sequence seq = DOTween.Sequence(); seq.AppendCallback(() => { ClearListPokerInSet(); for (int i = 0; i < listPoker.Count; i++) { BigTwoPoker poker = listPoker [i]; InsertPokerToSet(poker); } SortListPokerInHand(true); ShowListPokerInSet(); }); seq.AppendInterval(timeWait); seq.AppendCallback(() => { doneCallback(); }); }