Skip to content

Commit 27a7cd1

Browse files
committed
✨ 更新多线程加载
1 parent bcd0444 commit 27a7cd1

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Editor/Interface/AssetInfoData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public string Type
282282
private long _size;
283283

284284
[NonSerialized]
285-
private string _type;
285+
internal string _type;
286286

287287
[NonSerialized]
288288
private string _guid;

Editor/Windows/Page/4AssetPage.LookCollect.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
using System;
22
using System.Collections.Generic;
33
using System.Linq;
4+
using Unity.Collections;
5+
using Unity.Jobs;
6+
using Unity.Jobs.LowLevel.Unsafe;
47
using UnityEditor;
58
using UnityEngine;
69

Editor/Windows/Page/AssetPage.Look.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ public partial class AssetPageLook
2828

2929
private static TreeViewDependencies TreeViewDependencies;
3030

31-
private static volatile PageList<AssetDataInfo> PageValues; // 当前页资源列表
32-
private static volatile List<AssetDataInfo> Values; // 当前所有资源
31+
private static PageList<AssetDataInfo> PageValues; // 当前页资源列表
32+
private static List<AssetDataInfo> Values; // 当前所有资源
3333

3434
private static string[] DisplayPackages; // 列表:包
3535
private static string[] DisplayTags; // 列表:标签

0 commit comments

Comments
 (0)