Ok, probably answered a million times but… I need to read an xml embedded in my project (not from a url) using javascript. the xml contains the information to build each level of my game so #1. where do i put the xml file(s) in my project and #2 how do I access it and read it. Can someone respond and give me an example?
Thanks
-
Wherever you want.
-
Make it a TextAsset and use some kind of xml parsing, such as System.Xml.XmlReader.