浏览代码

Moved to Public transport package.

/main/staging
当前提交
37ca0c4b
共有 4 个文件被更改,包括 14 次插入11 次删除
  1. 4
      Assets/Scripts/Relay/RelayUtpSetup.cs
  2. 2
      Packages/manifest.json
  3. 19
      Packages/packages-lock.json

4
Assets/Scripts/Relay/RelayUtpSetup.cs


RelayHMACKey key = ConvertHMACKeyBytes(hmacKeyBytes);
m_endpointForServer = serverEndpoint;
var relayServerData = new RelayServerData(ref serverEndpoint, 0, ref allocationId, ref connectionData, ref hostConnectionData, ref key);
//TODO Implement DTLS
bool isSecure = false;
var relayServerData = new RelayServerData(ref serverEndpoint, 0, ref allocationId, ref connectionData, ref hostConnectionData, ref key, isSecure);
relayServerData.ComputeNewNonce();
var relayNetworkParameter = new RelayNetworkParameter { ServerData = relayServerData };

2
Packages/manifest.json


"com.unity.test-framework": "1.1.27",
"com.unity.textmeshpro": "3.0.6",
"com.unity.toolchain.win-x86_64-linux-x86_64": "0.1.20-preview",
"com.unity.transport": "1.0.0-pre.1",
"com.unity.transport": "1.0.0-pre.3",
"com.unity.ugui": "1.0.0",
"com.unity.modules.ai": "1.0.0",
"com.unity.modules.androidjni": "1.0.0",

19
Packages/packages-lock.json


{
"dependencies": {
"com.unity.burst": {
"version": "1.5.3",
"depth": 2,
"version": "1.5.5",
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.mathematics": "1.2.1"

"url": "https://packages.unity.com"
},
"com.unity.collections": {
"version": "1.0.0-pre.3",
"version": "1.0.0-pre.5",
"com.unity.burst": "1.5.3",
"com.unity.burst": "1.5.4",
"com.unity.test-framework": "1.1.22"
},
"url": "https://packages.unity.com"

"url": "https://packages.unity.com"
},
"com.unity.transport": {
"version": "file:com.unity.transport",
"version": "1.0.0-pre.3",
"source": "embedded",
"source": "registry",
"com.unity.collections": "1.0.0-pre.3",
"com.unity.burst": "1.5.1",
"com.unity.collections": "1.0.0-pre.5",
"com.unity.burst": "1.5.5",
}
},
"url": "https://packages.unity.com"
},
"com.unity.ugui": {
"version": "1.0.0",

正在加载...
取消
保存