-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: support assetBundle #510
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
コメント加えていますが approved.
src/AssetManager.ts
Outdated
|
||
if (this._assetBundle) { | ||
assetPaths.push( | ||
...Object.entries(this._assetBundle.assets) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assetId の方使わなくなったので Object.values()
でよさそうです。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
69f3a1e にて修正しました。
このpull requestが解決する内容
InitialScene
を専用のクラスに分割します。assetBundle
の読み込みまで遅延するトリガonAllAssetsLoad
を追加します。破壊的な変更を含んでいるか?