added level editor
- prefabs need to be stored in Resources/Prefabs
Workflow:
- Window --> XmlLevelEditor
- Delete
- Click "Export..."
- Add all Scene objects as Childs to new Export-Object in Hierarchy (every Object needs to have name of prefab)
- Click "Export..." again
- new Level appears in XmlItemsToExport.xml
- copy Level to Levels.xml
- Load Level from DeserializedLevelsLoader
Showing
Assets/Editor.meta
0 → 100644
Assets/Editor/XmlLevelEditor.cs
0 → 100644
Assets/Editor/XmlLevelEditor.cs.meta
0 → 100644
No preview for this file type
No preview for this file type
No preview for this file type
Assets/Resources.meta
0 → 100644
Assets/Resources/Levels.xml
0 → 100644
Assets/Resources/Levels.xml.meta
0 → 100644
Assets/Resources/Prefabs.meta
0 → 100644
File added
File added
Assets/Resources/Prefabs/Player.prefab
0 → 100644
File added
Assets/Resources/Prefabs/Player.prefab.meta
0 → 100644
File added
Assets/Resources/Prefabs/PortableFire.prefab
0 → 100644
File added
Assets/Resources/Prefabs/Powerup_Heal.prefab
0 → 100644
File added
File added
Assets/Resources/Prefabs/Shield.prefab
0 → 100644
File added
Assets/Resources/Prefabs/Shield.prefab.meta
0 → 100644
Assets/Resources/Prefabs/Trap.prefab
0 → 100644
File added
Assets/Resources/Prefabs/Trap.prefab.meta
0 → 100644
File added
Assets/Resources/Prefabs/Turret.prefab
0 → 100644
File added
Assets/Resources/Prefabs/Turret.prefab.meta
0 → 100644
Assets/Resources/Prefabs/UI.prefab
0 → 100644
File added
Assets/Resources/Prefabs/UI.prefab.meta
0 → 100644
Assets/Resources/Prefabs/ground.prefab
0 → 100644
File added
Assets/Resources/Prefabs/ground.prefab.meta
0 → 100644
Assets/Resources/Prefabs/rocket.prefab
0 → 100644
File added
Assets/Resources/Prefabs/rocket.prefab.meta
0 → 100644
Assets/Resources/XmlItemsToExport.xml
0 → 100644
Assets/Resources/XmlItemsToExport.xml.meta
0 → 100644
Assets/Scripts/LevelManagement.meta
0 → 100644
Assets/Scripts/LevelManagement/PlayScript.cs
0 → 100644
Assets/Scripts/LevelManagement/XmlIO.cs
0 → 100644
Assets/Scripts/LevelManagement/XmlIO.cs.meta
0 → 100644
No preview for this file type
Please
register
or
sign in
to comment