|
I'm trying to convert a string, entered by the player into a Gui.textfield, into a float. However, Im constantly getting this error: "FormatException: Invalid format. System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) System.Single.Parse (System.String s)" My code is as follows:
What could my solution be?
(comments are locked)
|
|
http://answers.unity3d.com/questions/47763/convert-string-to-float-or-double-errors Now Im getting the error "Input string is not in the correct format"...
Apr 04 '11 at 03:00 PM
Jordi 5
(comments are locked)
|
