[SOLVED] Dynamic asset loading / unloading

I’m creating a project that will have many separate scenes.
I’ve found that you can disable preloading, and so the assets of each scene will only be loaded when the scene is loaded the first time. Two questions:

  • Is there a way to also trigger them to be unloaded?
  • Is there an event that can be fired when a non-preloaded asset is finished loading? we have ‘curtains’ that come in to hide transitions, it would be great if we could reliably know when all assets are done loading to avoid seeing any pops…

There is an event when an asset is loaded. Here are some samples of doing so here:


great, this looks like what I need, and unloading works in a similar way