added checking for response from vr engine and automatic reconnect
This commit is contained in:
@@ -46,6 +46,7 @@ namespace ClientApp.Utils
|
||||
engineConnection = EngineConnection.INSTANCE;
|
||||
engineConnection.OnNoTunnelId = RetryEngineConnection;
|
||||
engineConnection.OnSuccessFullConnection = engineConnected;
|
||||
engineConnection.OnEngineDisconnect = RetryEngineConnection;
|
||||
if (!engineConnection.Connected) engineConnection.Connect();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user