Quantcast
Channel: Answers by "jaskij"
Viewing all articles
Browse latest Browse all 37

Answer by jaskij

$
0
0
The point here, Time.deltaTime returns values smaller then 1, so rounding it before addition will give you tons of toubles. Best thing to do here would be to store the score as a float and only round it before displaying, like score.ToString("F0"); in C#

Viewing all articles
Browse latest Browse all 37

Trending Articles