mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
obsolete NetworkClient.readyConnection redundant state
This commit is contained in:
parent
dd5c137c7b
commit
0d5df4842f
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user