private void Update() { if (redis.CurrConnectionStat == RedisService.ConnectionStat.None) { var config = ConfigurationOptions.Parse(server); redis.ConnectAsync(config); Debug.Log($"Connect async"); } }