diff --git a/Assets/Mirror/Core/Transport.cs b/Assets/Mirror/Core/Transport.cs index 6d4f70703..dfe3aa184 100644 --- a/Assets/Mirror/Core/Transport.cs +++ b/Assets/Mirror/Core/Transport.cs @@ -66,8 +66,12 @@ public abstract class Transport : MonoBehaviour public Action OnClientDisconnected; // server ////////////////////////////////////////////////////////////// - /// Called by Transport when a new client connected to the server. + + // Deprecated 2024-07-20 + [Obsolete("Use OnServerConnectedWithAddress and pass the remote client address instead")] public Action OnServerConnected; + + /// Called by Transport when a new client connected to the server. public Action OnServerConnectedWithAddress; /// Called by Transport when the server received a message from a client.