unity开发 FormatException: Input string was not in a correct forma
肉果汁
编辑于 2022年12月06日 13:16

运行时报错

FormatException: Input string was not in a correct format.

                /*System.Number.StringToNumber(System.String str, System.Globalization.NumberStyles options, System.Number + NumberBuffer & number, System.Globalization.NumberFormatInfo info, System.Boolean parseDecimal)(at<fb001e01371b4adca20013e0ac763896>:0)*/

问题:

parse出错

解决方法: