Exemplo n.º 1
0
        public string[] GetAllDependenciesByUrl(string url)
        {
            string abName = QFrameworkConfig.AssetBundleUrl2Name(url);

            string[] depends = null;

            for (int i = m_ActiveAssetDataGroup.Count - 1; i >= 0; --i)
            {
                if (!m_ActiveAssetDataGroup[i].GetAssetBundleDepends(abName, out depends))
                {
                    continue;
                }

                return(depends);
            }

            return(null);
        }
Exemplo n.º 2
0
 public static string[] GetAllDependenciesByUrl(string url)
 {
     return(m_Manifest.GetAllDependencies(QFrameworkConfig.AssetBundleUrl2Name(url)));
 }