using Assets.MyGame.Scripts.Net.WebResponses.ChineseChess; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public class UIChineseChessRoomExplain : SubUIBase { public TextMeshProUGUI tmp_roomExplain; public TextMeshProUGUI password; protected override void OnShow(object args = null) { base.OnShow(args); if (args != null) { var v = (ChineseChessGameClassList.ChessGameRoom)args; tmp_roomExplain.text = "局时:无限制\n" + "步时:60秒\n读秒:30\n底分:" + v.gold; password.text = v.password; } } }