From 855cc61936faa50eb42056f5bbff0eddaadb8dd4 Mon Sep 17 00:00:00 2001 From: huyufei Date: Thu, 27 Jun 2024 18:37:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8E=BB=E6=8E=89=E4=B8=8D=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E7=9A=84=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Runtime/Code/SDK/GuruSDK.Analytics.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/Runtime/Code/SDK/GuruSDK.Analytics.cs b/Runtime/Code/SDK/GuruSDK.Analytics.cs index 39f1818..18fac76 100644 --- a/Runtime/Code/SDK/GuruSDK.Analytics.cs +++ b/Runtime/Code/SDK/GuruSDK.Analytics.cs @@ -817,7 +817,6 @@ namespace Guru public static void LogEarnVirtualCurrencyByIGC(string currencyName, string spendCurrencyName, int value = 0, int balance = 0, string levelName = "", string scene = "", Dictionary extra = null) { - if (extra.Count == 0) throw new ArgumentException("Value cannot be an empty collection.", nameof(extra)); string category = Consts.CurrencyCategoryIGC; string itemName = spendCurrencyName; if (string.IsNullOrEmpty(scene)) scene = Consts.ParameterDefaultScene;