Hello, I’m developing simple game with Unity 4.3.4.
my game app needs to load JSON text file in runtime.
so I used like followings
TextAsset asset = Resources.Load ( "stages" ) as TextAsset;
string datafileContent = asset.text;
doSomethingWithTextFile ( dataFileContent );
I placed json text file
in
\Assets\Resources\stages.json
It just works well! … in Unity IDE only.
in Android, it fails to load test json file.
How can I this make possible?
please help.
Thank you for reading.