mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
syntax
This commit is contained in:
parent
155764cea8
commit
fa4efa6683
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user