Get access to the folder with the file on Android
Hello guys! In Unity created folder "StreamingAssets" and nested sub-folder "AniContr" - it is some animation controllers [All path: C:\Users\Virty\Documents\TestVideo\*Assets\StreamingAssets\AniContr*.controller*] (Bold - path in Unity) - these controllers I dynamically change.
On which PATH do I get access to controllers in a folder on Android?
Help please expanded explanation, and best way - "copied and it works" CODE in C#, and most beautiful (if you could, of cource) - the video on Youtube where you will show files in Unity in which folder they need to be and on which path get access within code)) I tried use
//variable massive RuntimeAnimatorController - RAC
RAC[0] = Resources.Load("jar:file://" + Application.dataPath + "!/assets/AniContr/Rendr_attack1") as RuntimeAnimatorController;
Rendr_attack1 this is Rendr_attack1.controller; [in path: Assets\StreamingAssets\AniContr\Rendr_attack1.controller] As in StreamingAssets _ Android path But I didn't get results when I play game in Unity or Andriod device (top priority, of course). Very big thanks for you answers! Bestregards!
Answer by uzairamirs · Apr 12, 2018 at 10:59 AM
@WatariXXL Did you manage to get the files from Streaming Assets? I am stuck in it for three days just tried to crate localization in Unity following Unity's own lectures.
Your answer
Follow this Question
Related Questions
Android path problems 0 Answers
unity remote 5 connects but dont change anything when patch 0 Answers
How to load textures from a local folder on Android 1 Answer
Json doesnt work in android (unity) 0 Answers
saving IAP data on a database 0 Answers