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); }
public bool GetAssetBundleDepends(string abName, out string[] result) { result = null; ABUnit unit = GetABUnit(abName); if (unit == null) { return(false); } result = unit.abDepends; return(true); }
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); }