CocosCreator 中如何下載文件

const fileName = "haha"; const fileType = ".png" const xhr = new XMLHttpRequest(); xhr.onreadystatechange = () => { if (xhr.readyState === 4 && xhr.status === 200) { if (xhr.response && cc
相關文章
相關標籤/搜索