diff options
author | chai <chaifix@163.com> | 2021-01-04 14:52:20 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-04 14:52:20 +0800 |
commit | 00cfa93034c5b6fad750b395ac14a1c58c9dd93f (patch) | |
tree | 18edf3549743baf3607fd74b86c50aba8d27b77c /Client/Assembly-CSharp/MatchMakerGameButton.cs | |
parent | b10039b0e64a4a8f1d4ee611e4acf1e79c84ffdd (diff) |
*协议
Diffstat (limited to 'Client/Assembly-CSharp/MatchMakerGameButton.cs')
-rw-r--r-- | Client/Assembly-CSharp/MatchMakerGameButton.cs | 2 |
1 files changed, 2 insertions, 0 deletions
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<SpriteRenderer>().sprite = null; } + // 根据收到的游戏列表设置按钮内容 public void SetGame(GameListing gameListing) { this.myListing = gameListing; |