Hey! I've been downloading models from VroidHub, load them after download, but couldn't figure out the file directory to load them again after restarting the game. Can you help me on this? Much appreciated.
Viewing post in Dance Dance Maker 0.6 - Add GLTF Model loading support comments
string basePath = isAndroid ? "/sdcard/DanceMaker/" : Application.persistentDataPath + "/"; string path = basePath; if (fileExt.Equals(".vrm")) { path += "Avatar/"; } else if (fileExt.Equals(".zip")) { path += "GLTF/"; } else { path += "Others/"; }
Here is my path logic in code, So if you download a .vrm file from vroidhub using build-in browser, the download path should be:/sdcard/DanceMaker/Avatar/