NewUI
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user