Skip to content

Commit 4ad5149

Browse files
authored
Update SceneSerializationUtility.cs
1 parent 23111ec commit 4ad5149

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Assets/Editor Toolbox/Runtime/Serialization/SceneSerializationUtility.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ private static void RefreshCache()
4444
foreach (var scene in EditorBuildSettings.scenes)
4545
{
4646
if (string.IsNullOrEmpty(scene.path))
47+
{
4748
continue;
48-
49+
}
50+
4951
buildIndex++;
5052

5153
var sceneIndex = scene.enabled ? buildIndex : InvalidSceneIndex;
@@ -84,4 +86,4 @@ public static bool TryGetSceneData(SceneAsset sceneAsset, out SceneData data)
8486

8587
public static int InvalidSceneIndex => -1;
8688
}
87-
}
89+
}

0 commit comments

Comments
 (0)