Jump to content

Loading a pack and triggered when all assets were downloaded


shvalb
 Share

Recommended Posts

Hi,

`Loader#pack` works as follow:

It first downloads the json file using XHR and then all the related assets.

`Loader#onPackComplete` is triggered when json file was downloaded and all assets were enqueued in its internal queue.

What if I would like to be notified *ONLY* when all related assets of current pack were downloaded??

How can I achieve this kind of behaviour assuming that I'm downloading multiple packs!

Thank you!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...