Home Game Development Access Cocos sport occasion load progress worth – Cocos Creator

Access Cocos sport occasion load progress worth – Cocos Creator

0
Access Cocos sport occasion load progress worth – Cocos Creator

[ad_1]

I’m in search of a hook/API/property or some worth that represents the present loading progress of a sport construct in Cocos Creator 3.5. How does the .progress-bar in model.css get up to date? I don’t see something in utility.js that appears to change it throughout the sport occasion creation.

In older Cocos variations (ex: 2.4.5) the important.js contained a setLoadingDisplay() perform that will replace the progress bar. I’m in search of one thing related in 3.4/3.5 however I’m not seeing it.

The use case is a platform our video games are deployed to requires we use their splash/loading display screen together with their loading progress bar. We must feed this load progress worth into their loading bar, however I’m struggling to determine the place I can discover this worth.

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here