Added a callback for client errors on transport.
This commit is contained in:
parent
a8be5cabdb
commit
e2228ccf16
1 changed files with 1 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ namespace LightReflectiveMirror
|
|||
clientToServerTransport.OnClientConnected = OnConnectedToRelay;
|
||||
clientToServerTransport.OnClientDataReceived = DataReceived;
|
||||
clientToServerTransport.OnClientDisconnected = Disconnected;
|
||||
clientToServerTransport.OnClientError = (e) => { Debug.LogError("LRM | Transport Error: " + e); };
|
||||
}
|
||||
|
||||
void Disconnected()
|
||||
|
|
|
|||
Loading…
Reference in a new issue