- Home /
Reading level specific file in build (from another level)
I have a levels folder in my assets that contains a folder for each level inside containing the level and an XML file with information and settings for that level.
E.G: "_myAssets/Levels/Overpass/levelConfig.xml" "_myAssets/Levels/testlevel/levelConfig.xml"
The XML is always the same name. I want to be able to read all these XMLs and get the level name (for application.LoadLevel()) from each folder inside the levels folder in game not just editor. How would I go about being able to fetch them all and the level names. (As System.io wont work in game)
Your answer
Follow this Question
Related Questions
Xml Serialization? (how to read/write?) 1 Answer
Reading XML Data C# 2 Answers
Convert XML Deserializer from folder to resources 2 Answers
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers