网站介绍:文章浏览阅读3.6k次,点赞5次,收藏9次。不瞎BB了,直接撸代码ts代码// 使用input调起文件选择窗口 public static openLocalFile(accept: string, callback: (file: File) => void) { let inputEl: HTMLInputElement = <HTMLInputElement>document.getElementById('file_input'); if (!inputEl) { _cocos creator 插件 打开本地文件夹
- 链接地址:https://blog.csdn.net/GrimRaider/article/details/106996232
- 链接标题:[Cocos Creator] 本地文件加载系列一:本地文件读取(web模式)_cocos creator 插件 打开本地文件夹-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:8249
- 网站标签:cocos creator 插件 打开本地文件夹