You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Curious what the purpose of the 2000 (2 sec) timeout before the loading screen disappears? is there a reason for that? It doesn't seem to be in the original unity webgl template so not quite sure if it serves an actual purpose in your template?
Basically it adds a blanket 2 seconds to the game loading, and we're trying to shave off seconds wherever we can, so want to make sure we're safe to remove this.
Thanks!
The text was updated successfully, but these errors were encountered:
Hypothesis is that its the only way to show the bar when fully loaded... otherwise it shows @ ~90% then disappears as soon as the game is 100% (never actually showing the bar @ 100%)
Curious what the purpose of the 2000 (2 sec) timeout before the loading screen disappears? is there a reason for that? It doesn't seem to be in the original unity webgl template so not quite sure if it serves an actual purpose in your template?
setTimeout(function() {
loader.style.display = "none";
}, 2000);
Basically it adds a blanket 2 seconds to the game loading, and we're trying to shave off seconds wherever we can, so want to make sure we're safe to remove this.
Thanks!
The text was updated successfully, but these errors were encountered: