Пример #1
0
        private void m_Done(AssetBundle assetBundle)
        {
            if (assetBundle == null)
            {
                string error = string.Format("the asset bundle({0}) is error. CRequest({1})", assetBundleName, url);
                CacheManager.AddErrorCacheData(assetBundleName);
                Debug.LogError(error);
            }
            else
            {
                CacheManager.AddCacheData(assetBundle, assetBundleName);
            }

            m_abRequest = null;
        }