Quantcast
Channel: Questions in topic: "assetbundle"
Viewing all articles
Browse latest Browse all 1593

Move file from streaming assets to other directory

$
0
0
Hello there, how can i move a file (.jpg) located in the streaming assets to another folder on my device (Android)? This is what i got so far: private IEnumerator MoveJPG() { // Get path of file in streaming assets string filePath = System.IO.Path.Combine(Application.streamingAssetsPath, "MyFile"); // Using AssetBundle to get the file is correct? AssetBundle result = null; WWW www = new WWW(filePath); yield return www; result = www.assetBundle; // How to move the file from a to b now? File.Move( result.? , filedir); } Pretty new in using streaming assets. Any advice would be great :) Thank you

Viewing all articles
Browse latest Browse all 1593

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>