/// <summary> /// Try connect with last saved server ip end point /// </summary> private static void Reconnect() { Debug.Log($"Trying to reconnect. Tries left: {_reconnectTriesLeft}/{RECONNECT_TRIES}"); _reconnectTriesLeft--; FoolWebClient.ReconnectToGameServer(); }
public void AddMoney(float sum) { string request = $"http://{FoolWebClient.GetIp()}:{PayServerPort}/payment/?user_id={FoolNetwork.LocalPlayer.UserId}&sum={sum}"; Application.OpenURL(request); }