Update ScenePartitionSO.cs

This commit is contained in:
max 2023-06-26 01:09:06 +02:00
parent b6f9052cff
commit 3118e18c20

View File

@ -42,13 +42,9 @@ public void CreateScene()
/// </summary>
public void LoadAll()
{
AssetDatabase.StartAssetEditing();
CreateScenePartitions();
SortedSet<uint> ids = new SortedSet<uint>(scenePartitionData.ScenePartitions.Keys);
LoadScenePartitions(ids);
AssetDatabase.StopAssetEditing();
}
private void CreateScenePartitions()