void Show_Internel() { lab_reachbou.text = "x" + currentAgari.reachBou.ToString(); var tenbouInfos = currentAgari.tenbouChangeInfoList; EKaze nextKaze = currentAgari.manKaze; for (int i = 0; i < playerTenbouList.Count; i++) { PlayerTenbouChangeInfo info = tenbouInfos.Find(ptci => ptci.playerKaze == nextKaze); playerTenbouList[i].SetPointInfo(info.playerKaze, info.current, info.changed); nextKaze = nextKaze.Next(); } }
void Show_Internel() { lab_msg.text = GetRyuuKyokuReasonString(); PlayRyuuKyokuVoice(); bool showTenpai = ryuuKyokuReason == ERyuuKyokuReason.NoTsumoHai; var tenbouInfos = currentAgari.tenbouChangeInfoList; EKaze nextKaze = currentAgari.manKaze; for (int i = 0; i < playerTenbouList.Count; i++) { PlayerTenbouChangeInfo info = tenbouInfos.Find(ptci => ptci.playerKaze == nextKaze); playerTenbouList[i].SetInfo(info.playerKaze, info.current, info.changed, info.isTenpai, showTenpai); nextKaze = nextKaze.Next(); } }
IEnumerator ShowTenbouInfo() { yield return(new WaitForSeconds(1f)); lab_reachbou.text = "x" + currentAgari.reachBou.ToString(); SetTenbouInfo(true); var tenbouInfos = currentAgari.tenbouChangeInfoList; EKaze nextKaze = currentAgari.manKaze; for (int i = 0; i < playerTenbouList.Count; i++) { PlayerTenbouChangeInfo info = tenbouInfos.Find(ptci => ptci.playerKaze == nextKaze); playerTenbouList[i].SetInfo(info.playerKaze, info.current, info.changed); nextKaze = nextKaze.Next(); } }