提交h5修改

This commit is contained in:
edy
2026-07-10 11:30:12 +08:00
parent 11c764340e
commit 1559809a1f
7 changed files with 24061 additions and 24439 deletions
-19
View File
@@ -40,26 +40,7 @@ namespace DontConfuse
return _instance;
}
}
int time = 0;
void Update()
{
if (Time.time > time)
{
H5sendClass info = new H5sendClass() { link = "www.baidu.com", type = "h6" };
NetworkKit_sdk.PostWithHeader<object>("event/h5Impressions", info, (isSuccess, obj) =>
{
if (isSuccess)
{
Debug.Log("发送成功");
Debug.Log(JsonConvert.SerializeObject(obj));
}
});
time++;
}
}
private void Awake()
{
// 当场景加载时,如果 _instance 还没赋值,就由挂载在物体上的自己来赋值