Exemple #1
0
 public string[] GetDirectDependencies(string _assetBundleName)
 {
     if (Manifest == null)
     {
         return(null);
     }
     return(Manifest.GetDirectDependencies(BaseBundle.CombineSuffixName(_assetBundleName)));
 }
Exemple #2
0
 static public string[] GetAllDependencies(string _assetBundleName)
 {
     if (Instance.Manifest == null)
     {
         return(null);
     }
     return(Instance.Manifest.GetAllDependencies(BaseBundle.CombineSuffixName(_assetBundleName)));
 }
Exemple #3
0
            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);
            }
Exemple #4
0
        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);
        }