From abbe34501d95a0199b942c4da99f1386db688eda Mon Sep 17 00:00:00 2001 From: vis2k Date: Wed, 10 Mar 2021 19:31:54 +0800 Subject: [PATCH] add TODOs --- Assets/Mirror/Runtime/NetworkClient.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Assets/Mirror/Runtime/NetworkClient.cs b/Assets/Mirror/Runtime/NetworkClient.cs index bfad3bb54..1d5be5a0f 100644 --- a/Assets/Mirror/Runtime/NetworkClient.cs +++ b/Assets/Mirror/Runtime/NetworkClient.cs @@ -24,12 +24,13 @@ public static class NetworkClient public static NetworkConnection connection { get; internal set; } /// True if client is ready (= joined world). + // TODO redundant state. point it to .connection.isReady instead (& test) public static bool ready; /// The NetworkConnection object that is currently "ready". // This connection can be used to send messages to the server. There can // only be one ClientScene and ready connection at a time. - // TODO ready ? NetworkClient.connection : null?????? + // TODO redundant state. it's set when .connection is set to .ready public static NetworkConnection readyConnection { get; internal set; } /// NetworkIdentity of the localPlayer