update: 更新打点类定义值
							parent
							
								
									b03c29a1bb
								
							
						
					
					
						commit
						9a5c201899
					
				|  | @ -5,7 +5,6 @@ namespace Guru | |||
| { | ||||
|     public static partial class Analytics | ||||
|     { | ||||
| 
 | ||||
| 	    #region 广告属性 | ||||
| 
 | ||||
| 	    //------ 广告额外的参数 -------- | ||||
|  | @ -20,8 +19,6 @@ namespace Guru | |||
| 	     | ||||
| 	    #endregion | ||||
| 	     | ||||
| 	     | ||||
| 	     | ||||
| 	    #region Ads | ||||
| 	     | ||||
| 	    private static Dictionary<string, object> BuildAdEventData(AdParams adParams) | ||||
|  | @ -194,7 +191,6 @@ namespace Guru | |||
| 		} | ||||
| 	    #endregion | ||||
|         	 | ||||
|         		 | ||||
| 	    #region Ads-ATT | ||||
| 
 | ||||
| #if UNITY_IOS | ||||
|  | @ -230,15 +226,8 @@ namespace Guru | |||
| #endif | ||||
| 
 | ||||
| 	    #endregion | ||||
|          | ||||
| 	     | ||||
| 	     | ||||
| 	     | ||||
| 	     | ||||
|     } | ||||
|      | ||||
| 	 | ||||
|      | ||||
|     /// <summary> | ||||
|     /// 广告打点上报参数 | ||||
|     /// </summary> | ||||
|  | @ -292,5 +281,4 @@ namespace Guru | |||
| 	    } | ||||
|     } | ||||
|      | ||||
| 
 | ||||
| } | ||||
|  | @ -1,13 +1,12 @@ | |||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using com.adjust.sdk; | ||||
| using Firebase.Analytics; | ||||
| using Firebase.Crashlytics; | ||||
| using Firebase.Extensions; | ||||
| using UnityEngine; | ||||
| 
 | ||||
| namespace Guru | ||||
| { | ||||
| 	using System; | ||||
| 	using System.Collections.Generic; | ||||
| 	using Firebase.Analytics; | ||||
| 	using Firebase.Crashlytics; | ||||
| 	using Firebase.Extensions; | ||||
| 	using UnityEngine; | ||||
| 	 | ||||
| 	/// <summary> | ||||
|     /// 自打点逻辑 | ||||
|     /// </summary> | ||||
|  | @ -189,8 +188,6 @@ namespace Guru | |||
| 			}); | ||||
| 		} | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| #if UNITY_IOS	 | ||||
| 	    /// <summary> | ||||
| 	    /// 更新ATT状态 (Only IOS 有效) | ||||
|  | @ -202,9 +199,6 @@ namespace Guru | |||
| 	    } | ||||
| #endif   | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 		/// <summary> | ||||
| 		/// 获取全部ID | ||||
| 		/// </summary> | ||||
|  | @ -280,16 +274,20 @@ namespace Guru | |||
| 	    /// 设置太极02阀值 | ||||
| 	    /// </summary> | ||||
| 	    /// <param name="value"></param> | ||||
| 	    public static void SetTch02Value(double value) | ||||
| 	    public static void SetTch02TargetValue(double value) | ||||
| 	    { | ||||
| 		    try | ||||
| 		    { | ||||
| 			    if (value > 0) | ||||
| 			    { | ||||
| 				    EnableTch02Event = true; // 自动开启太极02打点设置 | ||||
| 				    if (Math.Abs(_tch02TargetValue - value) > 0.001d) | ||||
| 				    { | ||||
| 					    _tch02TargetValue = value; | ||||
| 					    GuruAnalytics.SetTch02Value(value); | ||||
| 				    } | ||||
| 			    } | ||||
| 		    } | ||||
| 		    catch (Exception e) | ||||
| 		    { | ||||
| 			    Crashlytics.LogException(e); | ||||
|  |  | |||
|  | @ -1,7 +1,7 @@ | |||
| using Firebase.Analytics; | ||||
| 
 | ||||
| namespace Guru | ||||
| { | ||||
| 	using Firebase.Analytics; | ||||
| 	 | ||||
| 	//https://firebase.google.com/docs/reference/cpp/group/parameter-names | ||||
| 	//Firebase内置定义事件名称和参数名称 | ||||
| 	public static partial class Analytics | ||||
|  |  | |||
|  | @ -1,8 +1,10 @@ | |||
| using UnityEngine; | ||||
| 
 | ||||
| 
 | ||||
| namespace Guru | ||||
| { | ||||
|     public partial class Analytics | ||||
|     using UnityEngine; | ||||
|      | ||||
|     public static partial class Analytics | ||||
|     { | ||||
|         /// <summary> | ||||
|         /// B_Level 属性 | ||||
|  |  | |||
|  | @ -1,10 +1,10 @@ | |||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using Facebook.Unity; | ||||
| using UnityEngine; | ||||
| 
 | ||||
| namespace Guru | ||||
| { | ||||
| 	using System; | ||||
| 	using System.Collections.Generic; | ||||
| 	using Facebook.Unity; | ||||
| 	using UnityEngine; | ||||
| 	 | ||||
| 	//游戏通用模版打点定义 | ||||
|     public static partial class Analytics | ||||
|     { | ||||
|  | @ -363,7 +363,6 @@ namespace Guru | |||
| 		    FBPurchase(value, USD, "ads", AdMAX); | ||||
| 	    } | ||||
| 	     | ||||
| 	     | ||||
| 	    /// <summary> | ||||
| 	    /// 太极事件点位上报 | ||||
| 	    /// </summary> | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue