File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Packages/com.mygamedevtools.scene-loader/Runtime/Utilities Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 22using System . Collections . Generic ;
33using UnityEngine ;
44using UnityEngine . SceneManagement ;
5- using UnitySceneManager = UnityEngine . SceneManagement . SceneManager ;
65
76namespace MyGameDevTools . SceneLoading
87{
@@ -21,13 +20,13 @@ public static class SceneDataUtilities
2120 public static void LinkLoadedScenesWithSceneDataArray ( ISceneData [ ] sceneDataArray , IList < ISceneData > sceneDatasToExclude )
2221 {
2322 // Fill this list with all loaded scenes from the Unity Scene Manager;
24- int totalSceneCount = UnitySceneManager . sceneCount ;
23+ int totalSceneCount = SceneManager . sceneCount ;
2524 List < Scene > unmatchedScenes = new ( totalSceneCount ) ;
2625
2726 int i ;
2827 for ( i = 0 ; i < totalSceneCount ; i ++ )
2928 {
30- Scene scene = UnitySceneManager . GetSceneAt ( i ) ;
29+ Scene scene = SceneManager . GetSceneAt ( i ) ;
3130 if ( scene . isLoaded )
3231 unmatchedScenes . Add ( scene ) ;
3332 }
You can’t perform that action at this time.
0 commit comments