修改网络模块

增加下载音频,
增加下载纹理的调试功能
This commit is contained in:
MuHua-123
2025-05-06 10:19:05 +08:00
parent 1e179f0602
commit bd74ee35c5
21 changed files with 215 additions and 58 deletions
@@ -0,0 +1,21 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MuHua {
/// <summary>
/// Web请求类型
/// </summary>
public enum EnumNetworkRequestType {
/// <summary> GET </summary>
GET = 0,
/// <summary> POST 表单 </summary>
PostForm = 1,
/// <summary> POST Json </summary>
PostJson = 2,
/// <summary> GET 获取图片 </summary>
Texture = 3,
/// <summary> GET 获取音频 </summary>
Audio = 4
}
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8e945331334b0b6479a782aba1d68391
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: