- Home /
Where do you put general files needed by your program?
My game needs pre-built files to run. I assume I should just put them under Assets in the project structure. Is that correct? When my game installs how do I tell my program where these needed general files are? I don't see anything under the build settings menu(s) to set this up. I can't find by search in this forum an answer. What is the magic word or phrase that under Unity is 'the assets directory' under an Android apk build? If this WAS a build that would wind up on an Android device then the place I should put everything IS the assets directory. Where is the equivalent location in Unity. What is the standard procedure for letting your program figure out where it's files are in Unity?
Answer by hexagonius · Sep 22, 2017 at 09:10 AM
I think what you're looking for is the folder "StreamingAssets"
https://docs.unity3d.com/Manual/SpecialFolders.html
Under Android, you access content via web request:
https://docs.unity3d.com/ScriptReference/Application-streamingAssetsPath.html
Your answer
