CacheStatus() static private method

static private CacheStatus ( string assetPath ) : Asset
assetPath string
return Asset
Example #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);
        }