generated from max/template-unity-project
Update ScenePartitionSO.cs
This commit is contained in:
parent
b6f9052cff
commit
3118e18c20
@ -42,13 +42,9 @@ public void CreateScene()
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public void LoadAll()
|
public void LoadAll()
|
||||||
{
|
{
|
||||||
AssetDatabase.StartAssetEditing();
|
|
||||||
|
|
||||||
CreateScenePartitions();
|
CreateScenePartitions();
|
||||||
SortedSet<uint> ids = new SortedSet<uint>(scenePartitionData.ScenePartitions.Keys);
|
SortedSet<uint> ids = new SortedSet<uint>(scenePartitionData.ScenePartitions.Keys);
|
||||||
LoadScenePartitions(ids);
|
LoadScenePartitions(ids);
|
||||||
|
|
||||||
AssetDatabase.StopAssetEditing();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void CreateScenePartitions()
|
private void CreateScenePartitions()
|
||||||
|
Loading…
Reference in New Issue
Block a user