CacheStatus() static private méthode

static private CacheStatus ( string assetPath ) : Asset
assetPath string
Résultat Asset
Exemple #1
0
        void DoOpen(AssetList resolve, bool selectAll = false)
        {
            if (assetList.Count == 0 && assetPaths.Count != 0)
            {
                assetPaths.ForEach(assetPath => assetList.Add(Provider.CacheStatus(assetPath)));
            }

            bool includeFolders = true;

            assetList  = resolve.Filter(includeFolders, Asset.States.Conflicted);
            assetPaths = assetList.Select(asset => asset.path).ToList();
            RefreshList(selectAll);
        }