From 8cf499e61efc40f97f43d26a1aed9535f82e5fed Mon Sep 17 00:00:00 2001 From: MrGadget1024 <9826063+MrGadget1024@users.noreply.github.com> Date: Wed, 22 Nov 2023 21:38:55 -0500 Subject: [PATCH] SWT: Added ToString override --- Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs b/Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs index aefcbe5f9..d472300d3 100644 --- a/Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs +++ b/Assets/Mirror/Transports/SimpleWeb/SimpleWebTransport.cs @@ -92,6 +92,8 @@ void Awake() Log.level = _logLevels; } + public override string ToString() => $"SWT [{port}]"; + void OnValidate() { Log.level = _logLevels;