Have been looking into asset bundles recently and so far have succeeded in making downloadable content including new unity scenes, extra characters and so on. But I’ve come across a point where I want to load information from a text file in a bundle [namely for loading and reading specific character data.]
So far I can load the text file as an object but not in a way that I can open it with the streamwriter/streamreader.
Object charDataFile = bundle.LoadAsset(“dataFile.txt”);
I would like to open this file or maybe find a suitable filepath to the object where I can open it directly and examine each individual line.
Any suggestions? When I have more time I planned to research this but I thought I would check with the community first.