浏览代码

Oops, missed a UI change in clients that I added for hosts.

/main/staging/relay_dtls
nathaniel.buck@unity3d.com 3 年前
当前提交
a204c67d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/Scripts/Relay/RelayUtpSetup.cs

2
Assets/Scripts/Relay/RelayUtpSetup.cs


bool isSecure = false;
m_endpointForServer = GetEndpointForAllocation(joinAllocation.ServerEndpoints, joinAllocation.RelayServer.IpV4, joinAllocation.RelayServer.Port, out isSecure);
BindToAllocation(m_endpointForServer, joinAllocation.AllocationIdBytes, joinAllocation.ConnectionData, joinAllocation.HostConnectionData, joinAllocation.Key, 1, isSecure);
m_localLobby.RelayServer = new ServerAddress(m_endpointForServer.Address, m_endpointForServer.Port);
m_localLobby.RelayServer = new ServerAddress(m_endpointForServer.Address.Split(':')[0], m_endpointForServer.Port);
}
protected override void OnBindingComplete()

正在加载...
取消
保存