//显示摸的牌 public virtual void ShowMoCard(int card) { if (_MoCard == null) { CreateMoCard(); } _MoCard.SetActive(true); }
//显示赢的牌 public void ShowWinCard(int cardSize) { if (_WinCard == null) { CreateWinCard(); } _WinCard.SetCardUI(cardSize); _WinCard.SetActive(true); }
public async Task ShowMaiMaCard(int card, int score) { Show(); mSocreText.text = string.Empty; for (int i = 0; i < 2; i++) { await ShowOneAnim(); } if (_MaiMaCard == null) { _MaiMaCard = CardFiveStarCardPool.Ins.Create(CardFiveStarCardType.Down_ZhiLi_ZhengMain, card, mMaiMaCardPointGo.transform, 0.8f); _MaiMaCard.LocalPositionZero(); } else { _MaiMaCard.SetCardUI(card); } mSocreText.text = "J" + score; await ETModel.Game.Scene.GetComponent <TimerComponent>().WaitAsync(1000); Hide(); _MaiMaCard.SetActive(false); }