From 00cfa93034c5b6fad750b395ac14a1c58c9dd93f Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 4 Jan 2021 14:52:20 +0800 Subject: =?UTF-8?q?*=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client/Assembly-CSharp/MatchMakerGameButton.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Client/Assembly-CSharp/MatchMakerGameButton.cs') diff --git a/Client/Assembly-CSharp/MatchMakerGameButton.cs b/Client/Assembly-CSharp/MatchMakerGameButton.cs index 64be6de..c330179 100644 --- a/Client/Assembly-CSharp/MatchMakerGameButton.cs +++ b/Client/Assembly-CSharp/MatchMakerGameButton.cs @@ -4,6 +4,7 @@ using InnerNet; using PowerTools; using UnityEngine; +// 游戏列表中单个游戏的入口按钮 public class MatchMakerGameButton : PoolableBehavior, IConnectButton { public TextRenderer NameText; @@ -49,6 +50,7 @@ public class MatchMakerGameButton : PoolableBehavior, IConnectButton this.connectIcon.GetComponent().sprite = null; } + // 根据收到的游戏列表设置按钮内容 public void SetGame(GameListing gameListing) { this.myListing = gameListing; -- cgit v1.1-26-g67d0