广告埋点
This commit is contained in:
parent
e63e16aad5
commit
52b368f37a
@ -1,4 +1,5 @@
|
||||
using TTSDK;
|
||||
using TTSDK.UNBridgeLib.LitJson;
|
||||
using UnityEngine;
|
||||
|
||||
/// <summary>
|
||||
@ -43,6 +44,11 @@ public class AdMgr : MonoBehaviour
|
||||
|
||||
if (isClose)
|
||||
{
|
||||
//广告数据ROI
|
||||
TT.SendToTAQ(new JsonData
|
||||
{
|
||||
["event_type"] = "lt_roi"
|
||||
});
|
||||
if (callback != null)
|
||||
{
|
||||
callback(args);
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user