We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filePath: zh/asset/text.md content:
loadPCD(url: string) { resources.load(url, (err, asset: TextAsset) => { if (err) { console.error('Failed to load PCD file'); console.error(err); return; } console.log(asset); console.log(asset.text); console.log(asset._file); // const text: string = asset.text; // this.parsePCD(text); }); }
加载pcd文本文件,加载到的资源中,text是undefined,而_file中有值,但是编辑器报错,——file受保护
The text was updated successfully, but these errors were encountered:
pcd文本文件是啥?可以考虑换成txt或者二进制之类的吗?
Sorry, something went wrong.
No branches or pull requests
filePath: zh/asset/text.md
content:
加载pcd文本文件,加载到的资源中,text是undefined,而_file中有值,但是编辑器报错,——file受保护
The text was updated successfully, but these errors were encountered: