change multiple scene system to dynamic indoor scene
This commit is contained in:
@@ -9,10 +9,8 @@ public class SceneManager
|
||||
UnityEngine.SceneManagement.SceneManager.sceneLoaded += SceneManager_sceneLoaded;
|
||||
}
|
||||
|
||||
public void Change(string sceneName,string spawnLocationName)
|
||||
public void Change(string sceneName)
|
||||
{
|
||||
_spawnLocationName = spawnLocationName;
|
||||
|
||||
UnityEngine.SceneManagement.SceneManager.LoadScene(sceneName);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user