123456789101112131415161718192021222324252627 |
- using LitJson;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class TestDownload : MonoBehaviour
- {
- // Start is called before the first frame update
- void Start()
- {
- SendMaterials sendModel = new SendMaterials();
- sendModel.url = "nav2_resources_test9903/viewpoint281/material/mrhall";
- string jsonModel = JsonMapper.ToJson(sendModel);
- HttpTool.Instance.PostBundle(null, "/cdn/download", 11, jsonModel, CallBack);
- }
- public void CallBack(DownLoadMaterial mObj, object value)
- {
-
- }
- // Update is called once per frame
- void Update()
- {
-
- }
- }
|