mirror of
https://github.com/thegeneralist01/Scene-Manager-DevRepo
synced 2026-01-11 15:40:29 +01:00
Updated object reference
This commit is contained in:
parent
eb77107edf
commit
ea3c3acff0
1 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@ namespace SceneManager
|
||||||
|
|
||||||
// Barriers
|
// Barriers
|
||||||
internal static Dictionary<string, Model> Barriers { get; private set; } = new Dictionary<string, Model>();
|
internal static Dictionary<string, Model> Barriers { get; private set; } = new Dictionary<string, Model>();
|
||||||
internal static List<Objects.Path> ImportedPaths { get; private set; } = new List<Objects.Path>();
|
internal static List<Paths.Path> ImportedPaths { get; private set; } = new List<Paths.Path>();
|
||||||
|
|
||||||
internal static void LoadSettings()
|
internal static void LoadSettings()
|
||||||
{
|
{
|
||||||
|
|
@ -99,7 +99,7 @@ namespace SceneManager
|
||||||
foreach (string file in savedPaths)
|
foreach (string file in savedPaths)
|
||||||
{
|
{
|
||||||
Game.LogTrivial($"File: {Path.GetFileName(file)}");
|
Game.LogTrivial($"File: {Path.GetFileName(file)}");
|
||||||
var importedPath = PathXMLManager.LoadItemFromXML<Objects.Path>(SAVED_PATHS_DIRECTORY + Path.GetFileName(file));
|
var importedPath = Serializer.LoadItemFromXML<Paths.Path>(SAVED_PATHS_DIRECTORY + Path.GetFileName(file));
|
||||||
importedPath.Name = Path.GetFileNameWithoutExtension(file);
|
importedPath.Name = Path.GetFileNameWithoutExtension(file);
|
||||||
ImportedPaths.Add(importedPath);
|
ImportedPaths.Add(importedPath);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue