Hy guys my question is simple how can i make a loading bar???
I’m assuming by maps you mean scenes/levels…
Instead of using Application.LoadLevel, use Application.LoadLevelAsync:
The value returned is an AyncOperation object:
This object has an ‘isDone’ property, and a ‘progress’ property. You can draw a loading bar using the progress property until the isDone property is fired.
progres return a float??? max(100) true??
i donno about unity. i always use 0.0 to 1.0 for percentages. if its 0.0 - 100.0 i usually append a “human readable” to the function name (or similiar) but just guessing from the joystick support. 0.0 to 1.0 for percentages.
try it. its either one of the other.
0 to 1, so it scales.
100% = 1.00
50% of 3,642 == 0.50 * 3,642
100% of 3,642 == 1.00 * 3,642
in programming you’d never store percentages as 0->100, you might DISPLAY them as 0->100, but never store them. (well unless you were using some fixed notation with 2 decimal places or something… but then it’s assumed all your arithmetic is considering that, and really you still code as if it’s 0->1)