mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkClient.InitializeTransportHandlers made static
This commit is contained in:
parent
32ed62f82b
commit
080bf2eaf0
@ -70,7 +70,7 @@ public void Connect(string ip)
|
||||
connection.SetHandlers(handlers);
|
||||
}
|
||||
|
||||
void InitializeTransportHandlers()
|
||||
static void InitializeTransportHandlers()
|
||||
{
|
||||
Transport.activeTransport.OnClientConnected.AddListener(OnConnected);
|
||||
Transport.activeTransport.OnClientDataReceived.AddListener(OnDataReceived);
|
||||
|
Loading…
Reference in New Issue
Block a user