コード例 #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>();
 }