diff --git a/Runtime/Code/SDK/GuruSDK.Analytics.cs b/Runtime/Code/SDK/GuruSDK.Analytics.cs
index 315d057..f676b00 100644
--- a/Runtime/Code/SDK/GuruSDK.Analytics.cs
+++ b/Runtime/Code/SDK/GuruSDK.Analytics.cs
@@ -283,17 +283,29 @@ namespace Guru
{
SetUserProperty(Analytics.PropertyPlay, $"{bplay}");
}
-
- // public static void SetUserTotalCoins(int totalCoins)
- // {
- // SetUserProperty(Analytics.PropertyCoin, $"{totalCoins}");
- // }
+ ///
+ /// 上报用户全部的 Coin (当前值)
+ ///
+ ///
+ public static void SetUserTotalCoins(int totalCoins)
+ {
+ SetUserProperty(Analytics.PropertyCoin, $"{totalCoins}");
+ }
+
+ ///
+ /// 上报用户免费金币的 数量 (累加值)
+ ///
+ ///
public static void SetUserFreeCoins(int freeCoins)
{
SetUserProperty(Analytics.PropertyNonIAPCoin, $"{freeCoins}");
}
+ ///
+ /// 上报用户付费金币的 数量 (累加值)
+ ///
+ ///
public static void SetUserPaidCoins(int paidCoins)
{
SetUserProperty(Analytics.PropertyIAPCoin, $"{paidCoins}");