Пример #1
0
        public string[] GetAllDependenciesByUrl(string url)
        {
            string abName = ProjectPathConfigTemp.AssetBundleUrl2Name(url);

            string[] depends = null;

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

                return(depends);
            }

            return(null);
        }
 public static string[] GetAllDependenciesByUrl(string url)
 {
     return(m_Manifest.GetAllDependencies(ProjectPathConfigTemp.AssetBundleUrl2Name(url)));
 }