Quantcast
Browsing latest articles
Browse All 4 View Live

Answer by Hellium

If you look at the documentation http://docs.unity3d.com/ScriptReference/Mathf.Round.html You will see that this function returns a float. Thus, there may be some imprecisions. I see two simple options...

View Article


Answer by Bunny83

The problem is most likely the order of execution of your code. You first display the current "clicks" number, then you round it, then you add the autoClicks. Since your autoClicks is multiplied by...

View Article

Browsing latest articles
Browse All 4 View Live