NetworkClient.InitializeTransportHandlers made static

This commit is contained in:
vis2k 2019-03-24 20:57:07 +01:00
parent 32ed62f82b
commit 080bf2eaf0

View File

@ -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);