Esempio n. 1
0
        public bool GetAssetBundlePath(string assetName, out string result)
        {
            result = null;
            ABUnit unit = GetABUnit(assetName);

            if (unit == null)
            {
                return(false);
            }

            result = m_FolderPath + unit.abName;
            return(true);
        }
Esempio n. 2
0
        public bool GetAssetBundleDepends(string abName, out string[] result)
        {
            result = null;

            ABUnit unit = GetABUnit(abName);

            if (unit == null)
            {
                return(false);
            }

            result = unit.abDepends;

            return(true);
        }
Esempio n. 3
0
        public ABUnit GetABUnit(string name)
        {
            ABUnit result = null;

            for (int i = m_AllAssetDataPackages.Count - 1; i >= 0; --i)
            {
                result = m_AllAssetDataPackages[i].GetABUnit(name);
                if (result != null)
                {
                    break;
                }
            }

            return(result);
        }