Quantcast
Viewing all articles
Browse latest Browse all 184

how to slow whlie down in c# code?

while loop gives me float "mana" at the speed of light do you know how to slow it down? simplified code public static float mana = 1; void Update() { while (mana < 100) { mana++; } }

Viewing all articles
Browse latest Browse all 184

Trending Articles