This commit is contained in:
vis2k 2019-03-21 18:12:34 +01:00
parent 155764cea8
commit fa4efa6683

View File

@ -69,7 +69,7 @@ public void Connect(string ip)
connection.SetHandlers(handlers); connection.SetHandlers(handlers);
} }
private void InitializeTransportHandlers() void InitializeTransportHandlers()
{ {
Transport.activeTransport.OnClientConnected.AddListener(OnConnected); Transport.activeTransport.OnClientConnected.AddListener(OnConnected);
Transport.activeTransport.OnClientDataReceived.AddListener(OnDataReceived); Transport.activeTransport.OnClientDataReceived.AddListener(OnDataReceived);