您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

25 行
545 B

using UnityEngine;
namespace LobbyRelaySample
{
/// <summary>
/// This is where your netcode would go, if you had it.
/// </summary>
public class ServerAddress
{
string m_IP;
int m_Port;
public ServerAddress(string ip, int port)
{
m_IP = ip;
m_Port = port;
Debug.Log($"Connected To Game Server: {ip}:{port}");
}
public override string ToString()
{
return $"{m_IP}:{m_Port}";
}
}
}