Files
5.24BuYu/Assets/MyGame/aa/UI/Game/ChineseChess/UIChineseChessRoomExplain.cs
T
2026-02-13 19:23:01 +08:00

22 lines
641 B
C#

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;
}
}
}