obsolete NetworkClient.readyConnection redundant state

This commit is contained in:
vis2k 2021-03-13 12:36:54 +08:00
parent dd5c137c7b
commit 0d5df4842f

View File

@ -29,6 +29,7 @@ public static class NetworkClient
/// <summary>The NetworkConnection object that is currently "ready".</summary>
// TODO this is from UNET. it's redundant and we should probably obsolete it.
[Obsolete("NetworkClient.readyConnection is redundant. Use NetworkClient.connection and use NetworkClient.ready to check if it's ready.")]
public static NetworkConnection readyConnection => ready ? connection : null;
/// <summary>NetworkIdentity of the localPlayer </summary>