38 lines
950 B
C#
38 lines
950 B
C#
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++;
|
|
// }
|
|
|
|
|
|
}
|
|
}
|