예제 #1
0
 public ResourceManager()
 {
     StreamingAssetsManager      = new StreamingAssetsManager();
     LocalAssetManager           = new LocalAssetManager();
     m_StreamingAssetsVersionDic = new Dictionary <string, AssetBundleInfoEntity>();
     m_NeedDownloadList          = new LinkedList <string>();
 }
예제 #2
0
 /// <summary>
 /// 读取只读区资源包
 /// </summary>
 /// <param name="fileUrl"></param>
 /// <param name="onComplete"></param>
 internal void ReadStreamingAssetsBundle(string fileUrl, Action <byte[]> onComplete)
 {
     StreamingAssetsManager.ReadAssetBundle(fileUrl, onComplete);
 }
예제 #3
0
 public ResourceManager()
 {
     StreamingAssetsManager      = new StreamingAssetsManager();
     LocalAssetManager           = new LocalAssetManager();
     m_StreamingAssetsVersionDic = new Dictionary <string, AssetBundleInfoEntity>();
 }