摘要: File协议主要用于访问本地计算机中的文件,就如同在Windows资源管理器中打开文件一样,基本的格式如下:file:///文件路径。 FTP是文件传输协议,可以用于互联网上。例如,你有一个网站,放在某个服务器上,可以通过FTP来访问服务器上的文件。 HTTP 协议定义服务器端和客户端之间文件传输的 阅读全文
posted @ 2018-06-02 00:36 小·糊涂仙 阅读(3237) 评论(0) 推荐(0) 编辑
摘要: using UnityEngine; using System.Collections; using System.IO; public class LoadResource : MonoBehaviour { //assetbundle 的后缀实际上可以随意自定义的 string PathAssetBundle = "D:/LgsTest/ResourcePath/Cube.... 阅读全文
posted @ 2018-06-02 00:24 小·糊涂仙 阅读(172) 评论(0) 推荐(0) 编辑
摘要: using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; public class ExportAssetBundles : MonoBehaviour { //在Unity编辑器中添加菜单 [MenuItem("Assets/Build A... 阅读全文
posted @ 2018-06-02 00:23 小·糊涂仙 阅读(184) 评论(0) 推荐(0) 编辑