UnityHTTPServer icon indicating copy to clipboard operation
UnityHTTPServer copied to clipboard

When can I support Android?

Open scc172fly opened this issue 3 years ago • 4 comments

Recently, the project happens to have this requirement, when can support the Android platform, very urgent need, but the Android platform can not directly use File Directory API, the work is not normal.

scc172fly avatar Jun 13 '22 02:06 scc172fly

I believe Android can use File API to load files in Application.persistentdatapath. So the idea is, store your file in Application.streamingAssets, at the first App start, load all files in Application.streamingAssets using UnityWebRequrest and write all bytes to Application.persistentdatapath using File API. After all those thing done, manual start the http server set the root path to Application.persistentdatapath, maybe should work.

sableangle avatar Jun 13 '22 04:06 sableangle

请问支持WebGL平台吗

Sugar0612 avatar Sep 24 '24 15:09 Sugar0612

WebGL 我想應該是不支援的

sableangle avatar Sep 24 '24 16:09 sableangle

WebGL 我想應該是不支援的

好的好的,感谢~

Sugar0612 avatar Sep 25 '24 01:09 Sugar0612