提交
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using DontConfuse;
|
||||
using Newtonsoft.Json;
|
||||
using Unity.VisualScripting;
|
||||
using UnityEngine;
|
||||
|
||||
public class test_rukou : MonoBehaviour
|
||||
{
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
SdkManager.OpenSDK();
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
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++;
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user