mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkClient.Connect made static
This commit is contained in:
parent
080bf2eaf0
commit
d1d006e6d7
@ -51,7 +51,7 @@ internal static void SetHandlers(NetworkConnection conn)
|
||||
conn.SetHandlers(handlers);
|
||||
}
|
||||
|
||||
public void Connect(string ip)
|
||||
public static void Connect(string ip)
|
||||
{
|
||||
if (LogFilter.Debug) Debug.Log("Client Connect: " + ip);
|
||||
|
||||
|
@ -340,7 +340,7 @@ public NetworkClient StartClient()
|
||||
}
|
||||
if (LogFilter.Debug) Debug.Log("NetworkManager StartClient address:" + networkAddress);
|
||||
|
||||
client.Connect(networkAddress);
|
||||
NetworkClient.Connect(networkAddress);
|
||||
|
||||
OnStartClient(client);
|
||||
s_Address = networkAddress;
|
||||
|
Loading…
Reference in New Issue
Block a user