public string[] GetDirectDependencies(string _assetBundleName) { if (Manifest == null) { return(null); } return(Manifest.GetDirectDependencies(BaseBundle.CombineSuffixName(_assetBundleName))); }
static public string[] GetAllDependencies(string _assetBundleName) { if (Instance.Manifest == null) { return(null); } return(Instance.Manifest.GetAllDependencies(BaseBundle.CombineSuffixName(_assetBundleName))); }
public string GetFullPath(string _filename) { _filename = BaseBundle.CombineSuffixName(_filename); string tfullpathname = Path.Combine(mPersistentDataPath, _filename); if (!File.Exists(tfullpathname)) { tfullpathname = Path.Combine(mStreamingDataPath, _filename); } return(tfullpathname); }
static public string GetFullPath(string _filename) { _filename = BaseBundle.CombineSuffixName(_filename); string tfullpathname = string.Format("{0}{1}", GameCore.PersistentResDataPath, _filename); if (!File.Exists(tfullpathname)) { tfullpathname = string.Format("{0}{1}", GameCore.StreamingAssetsResDataPath, _filename); } return(tfullpathname); }