Hello to all …
I would ask very kindly as I can make a Loading screen with an image and a progress bar I used to when I move with my character from one map to another and I need that every time is different
someone could make me this script? thanks
Hello to all …
I would ask very kindly as I can make a Loading screen with an image and a progress bar I used to when I move with my character from one map to another and I need that every time is different
someone could make me this script? thanks
the current functionality of unity for this is broken. A progress bar isn’t possible.
You can load a scene that says “loading” and load the other scene async but progress bar isn’t possible.
Can be done only for streamed levels for web build. Not for standalone sadly.
This isn’t entirely true. You can easily make a loading screen by using Coroutines and/or threading on a standalone. All you would be doing is measuring the progress of all the processes until you have reached a finite end.
So in the case of a procedural world, you would thread it along and have it write a variable that the main thread can see. If you have done 50% of the work, or have a defined section that is 50%, you can display that on your main screen without the threat of dropping.
Coroutine’s run in standard mode, so you would have to yield long enough to update the frame, but that is minimal.
A thread could run continuously and simply post it’s progress as you go.
On both, you will still have to know how much is left as well, and be able to keep track of it on a gui.