Commit 769aa1ef by Philipp Adolf

Fix loading of levels in editor

parent 76e2d64b
...@@ -27,7 +27,10 @@ public class XmlLevelEditor : EditorWindow { ...@@ -27,7 +27,10 @@ public class XmlLevelEditor : EditorWindow {
GUILayout.Label ("Import Levels.xml into the scene"); GUILayout.Label ("Import Levels.xml into the scene");
if (GUILayout.Button("Import Levels.xml")) if (GUILayout.Button("Import Levels.xml"))
{
deserializedLevelsLoader.load();
deserializedLevelsLoader.loadLevel(); deserializedLevelsLoader.loadLevel();
}
// Export section // Export section
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment