简体   繁体   中英

Start a-scene only when scene assets loaded [aframe]

I have some videos and audio files in my scene that take some time to load. Would like to only start the scene when all of these elements are loaded, ie ready to play. So, basically how can I only show the scene when all the assets are loaded?

Thanks!

A-Frame has an Asset Management System for that. Have a look at the docs .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM