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