-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
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
🥰 图片/字体资源注册异步方式 #164
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
💻 图片/字体资源统一注册使用方式
🏞 cene.addImage 是异步的,图层可能先渲染导致没有出来,当下解决的方案 await scene.addImage 完成再渲染图层
🧐 What does the proposed API look like
🚑 Any additional
统一管理缺点就是加载资源失败,还是需要 try catch 不能让所有图层出不来
The text was updated successfully, but these errors were encountered: