Skip to content

Commit d1f10eb

Browse files
committed
Updated testproject to 6000.0
1 parent f3a05c4 commit d1f10eb

7 files changed

Lines changed: 143 additions & 83 deletions

File tree

testproject/Assets/Scripts/ConnectionModeScript.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
using System;
12
using System.Collections;
23
using UnityEngine;
34
using Unity.Netcode;
45
using Unity.Netcode.Transports.UTP;
56
using UnityEngine.SceneManagement;
67
#if ENABLE_RELAY_SERVICE
7-
using System;
88
using Unity.Services.Core;
99
using Unity.Services.Authentication;
1010
#endif

testproject/Assets/Scripts/RelayUtility.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class RelayUtility
1212
string createJoinCode;
1313
try
1414
{
15-
allocation = await Relay.Instance.CreateAllocationAsync(maxConnections, region);
15+
allocation = await RelayService.Instance.CreateAllocationAsync(maxConnections, region);
1616
}
1717
catch (Exception e)
1818
{
@@ -25,7 +25,7 @@ public class RelayUtility
2525

2626
try
2727
{
28-
createJoinCode = await Relay.Instance.GetJoinCodeAsync(allocation.AllocationId);
28+
createJoinCode = await RelayService.Instance.GetJoinCodeAsync(allocation.AllocationId);
2929
}
3030
catch
3131
{
@@ -41,7 +41,7 @@ public class RelayUtility
4141
JoinAllocation allocation;
4242
try
4343
{
44-
allocation = await Relay.Instance.JoinAllocationAsync(joinCode);
44+
allocation = await RelayService.Instance.JoinAllocationAsync(joinCode);
4545
}
4646
catch
4747
{

testproject/Assets/Scripts/testproject.asmdef

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"Unity.Netcode.Adapter.UTP",
99
"Unity.Services.Authentication",
1010
"Unity.Services.Core",
11-
"Unity.Services.Relay",
11+
"Unity.Services.Multiplayer",
1212
"Unity.Addressables.Editor"
1313
],
1414
"versionDefines": [
1515
{
16-
"name": "com.unity.services.relay",
17-
"expression": "0.0.1-preview.3",
16+
"name": "com.unity.services.multiplayer",
17+
"expression": "1.0.0",
1818
"define": "ENABLE_RELAY_SERVICE"
1919
},
2020
{

testproject/Packages/manifest.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11
{
22
"disableProjectUpdate": false,
33
"dependencies": {
4-
"com.unity.addressables": "1.22.3",
5-
"com.unity.ai.navigation": "1.1.6",
6-
"com.unity.collab-proxy": "2.7.1",
7-
"com.unity.ide.rider": "3.0.37",
8-
"com.unity.ide.visualstudio": "2.0.22",
9-
"com.unity.mathematics": "1.2.6",
4+
"com.unity.addressables": "2.9.1",
5+
"com.unity.ai.navigation": "2.0.12",
6+
"com.unity.collab-proxy": "2.12.4",
7+
"com.unity.ide.rider": "3.0.40",
8+
"com.unity.ide.visualstudio": "2.0.27",
9+
"com.unity.mathematics": "1.3.3",
10+
"com.unity.multiplayer.center": "1.0.0",
1011
"com.unity.netcode.gameobjects": "file:../../com.unity.netcode.gameobjects",
1112
"com.unity.package-validation-suite": "0.49.0-preview",
12-
"com.unity.services.authentication": "2.7.4",
13-
"com.unity.services.core": "1.14.0",
14-
"com.unity.services.relay": "1.0.5",
15-
"com.unity.test-framework": "1.3.3",
16-
"com.unity.test-framework.performance": "3.1.0",
17-
"com.unity.textmeshpro": "3.0.7",
18-
"com.unity.timeline": "1.8.2",
19-
"com.unity.transport": "1.5.0",
20-
"com.unity.ugui": "1.0.0",
13+
"com.unity.services.authentication": "3.6.1",
14+
"com.unity.services.core": "1.16.0",
15+
"com.unity.services.multiplayer": "2.2.1",
16+
"com.unity.test-framework": "1.6.0",
17+
"com.unity.test-framework.performance": "3.3.0",
18+
"com.unity.timeline": "1.8.12",
19+
"com.unity.transport": "2.7.2",
20+
"com.unity.ugui": "2.0.0",
21+
"com.unity.modules.accessibility": "1.0.0",
2122
"com.unity.modules.ai": "1.0.0",
2223
"com.unity.modules.androidjni": "1.0.0",
2324
"com.unity.modules.animation": "1.0.0",

0 commit comments

Comments
 (0)