- Home /
Reading a text file from an AssetBundle
I have been trying to set up a game, which creates procedurally generated meshes, using information from a set of given text files. I got this working in the Editor and Windows Standalone, using System.IO. I also want this game to be accessible through the web player, however.
I first tried using the WWW class, which works for several things, except that the ships are all loaded from a single directory, and I need a method to check the directory for text files, and create a mesh for each one.
The next thing I looked at was the AssetBundle Class, which seems to create a file containing all the information I need, but then I dont know how to access the txt files from the asset bundle.
Is there a way to read text files from the asset bundle?
or
Is there an easier way to read the text files from my given assets using the web player, that does not require this?
Your answer
Follow this Question
Related Questions
Can I download a single asset file through WWW class instead of the assetbundle? 0 Answers
How to import the object from server to unity 2 Answers
Saving an AssetBundle decompressed 0 Answers
Streamed Scene Asset Bundles in a Streamed Web Player Causing Crashes 1 Answer
www doesn't work on ios Unity5.3.4 0 Answers