diff --git a/Assets/Mirror/Examples/TestNT/Scenes/OfflineKcp.unity b/Assets/Mirror/Examples/TestNT/Scenes/OfflineKcp.unity index a2500ad64..75da1aeb4 100644 --- a/Assets/Mirror/Examples/TestNT/Scenes/OfflineKcp.unity +++ b/Assets/Mirror/Examples/TestNT/Scenes/OfflineKcp.unity @@ -249,6 +249,10 @@ PrefabInstance: propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[6].m_Arguments.m_ObjectArgumentAssemblyTypeName value: UnityEngine.Object, UnityEngine objectReference: {fileID: 0} + - target: {fileID: 5678319891599719911, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3} + propertyPath: m_Options.m_Options.Array.data[0].m_Text + value: mirror2.clevertech.net + objectReference: {fileID: 0} - target: {fileID: 5678319891599719911, guid: 7cf6fcfd5a32c1545bc85a85bfa9c80b, type: 3} propertyPath: m_OnValueChanged.m_PersistentCalls.m_Calls.Array.data[0].m_Target value: diff --git a/Assets/Mirror/Examples/TestNT/Scripts/TestNTNetworkManager.cs b/Assets/Mirror/Examples/TestNT/Scripts/TestNTNetworkManager.cs index 0392de4cf..40d9907e5 100644 --- a/Assets/Mirror/Examples/TestNT/Scripts/TestNTNetworkManager.cs +++ b/Assets/Mirror/Examples/TestNT/Scripts/TestNTNetworkManager.cs @@ -45,8 +45,11 @@ public void OnSelectServer(int server) { if (server == 0) { +#if UNITY_WEBGL SetHostname("mirror.clevertech.net"); - +#else + SetHostname("mirror2.clevertech.net"); +#endif if (transport is SimpleWebTransport swt) { swt.port = 7777; @@ -84,7 +87,7 @@ public void OnSelectServer(int server) } } - #region Unity Callbacks +#region Unity Callbacks #if UNITY_SERVER public override void Start()