From 6182f0489729221f538d174b596b298f7e4f2bb3 Mon Sep 17 00:00:00 2001 From: vis2k Date: Thu, 27 May 2021 19:37:53 +0800 Subject: [PATCH] obsolete messages --- Assets/Mirror/Runtime/Transport/Transport.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Mirror/Runtime/Transport/Transport.cs b/Assets/Mirror/Runtime/Transport/Transport.cs index 1c7e5f265..4d41c5ce2 100644 --- a/Assets/Mirror/Runtime/Transport/Transport.cs +++ b/Assets/Mirror/Runtime/Transport/Transport.cs @@ -60,7 +60,7 @@ public abstract class Transport : MonoBehaviour /// Connects the client to the server at the Uri. // DEPRECATED 2021-05-27 - public const string ConnectUriObsoleteMessage = "We are considering to remove Uri support, unless someone has a good reason to keep it."; + public const string ConnectUriObsoleteMessage = "Uri support will be removed. Use Connect('IP:Port') instead of Connect(Uri)."; [Obsolete(ConnectUriObsoleteMessage)] public virtual void ClientConnect(Uri uri) { @@ -88,7 +88,7 @@ public virtual void ClientSend(ArraySegment segment, int channelId) /// Returns server address as Uri. // Useful for NetworkDiscovery. // DEPRECATED 2021-05-27 - public const string ServerUriObsoleteMessage = "We are considering to remove Uri support, unless someone has a good reason to keep it."; + public const string ServerUriObsoleteMessage = "Uri support will be removed. Use ServerAddress() instead, which can be 'IP:Port' too."; [Obsolete(ServerUriObsoleteMessage)] public abstract Uri ServerUri();