diff --git a/box1/Assets/Script/AdMgr.cs b/box1/Assets/Script/AdMgr.cs index 2caaf5f5..f270fb63 100644 --- a/box1/Assets/Script/AdMgr.cs +++ b/box1/Assets/Script/AdMgr.cs @@ -1,4 +1,5 @@ using TTSDK; +using TTSDK.UNBridgeLib.LitJson; using UnityEngine; /// @@ -43,6 +44,11 @@ public class AdMgr : MonoBehaviour if (isClose) { + //广告数据ROI + TT.SendToTAQ(new JsonData + { + ["event_type"] = "lt_roi" + }); if (callback != null) { callback(args); diff --git a/box1/Assets/Script/GameManager.cs b/box1/Assets/Script/GameManager.cs index 6a549ce0..06959e3d 100644 --- a/box1/Assets/Script/GameManager.cs +++ b/box1/Assets/Script/GameManager.cs @@ -4,6 +4,7 @@ using System.Collections.Generic; using System.Linq; using cfg; using TTSDK; +using TTSDK.UNBridgeLib.LitJson; // using Unity.VisualScripting; using UnityEngine; using Random = UnityEngine.Random; @@ -85,6 +86,15 @@ public class GameManager : MonoBehaviour DotData.ins.SendEvent("10101",""); MainPanel.ins.ClosePanelEvent(); }); + TT.SendToTAQ(new JsonData + { + ["event_type"] = "active" + }); + + TT.SendToTAQ(new JsonData + { + ["event_type"] = "next_day_open" + }); } private void Start()