private void RefreshList(List <string> list) { for (int i = 0; i < list.Count; ++i) { string path = EditorPath.FormatAssetPath(list[i]); string name = System.IO.Path.GetFileName(path); EditorUtility.DisplayProgressBar("获取AssetPath数据", name, (i * 1.0f) / list.Count); if (EditorPath.IsMeta(path)) { continue; } AssetPathInfo pathInfo = AssetPathInfo.CreatePathInfo(path); m_pathInfoList.Add(pathInfo); } EditorUtility.ClearProgressBar(); RefreshDataWithSelect(); }