mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkClient.connectState made static
This commit is contained in:
parent
006d5d3bc8
commit
f351a8a6d4
@ -4,6 +4,14 @@
|
||||
|
||||
namespace Mirror
|
||||
{
|
||||
public enum ConnectState
|
||||
{
|
||||
None,
|
||||
Connecting,
|
||||
Connected,
|
||||
Disconnected
|
||||
}
|
||||
|
||||
public class NetworkClient
|
||||
{
|
||||
// the client (can be a regular NetworkClient or a LocalClient)
|
||||
@ -16,14 +24,7 @@ public class NetworkClient
|
||||
|
||||
public NetworkConnection connection { get; protected set; }
|
||||
|
||||
protected enum ConnectState
|
||||
{
|
||||
None,
|
||||
Connecting,
|
||||
Connected,
|
||||
Disconnected
|
||||
}
|
||||
protected ConnectState connectState = ConnectState.None;
|
||||
internal static ConnectState connectState = ConnectState.None;
|
||||
|
||||
public string serverIp { get; private set; } = "";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user