yasirkula / UnityRuntimeInspector

Runtime Inspector and Hierarchy solution for Unity for debugging and runtime editing purposes
MIT License
1.68k stars 135 forks source link

Numerical display error #21

Closed ShenKang4181 closed 4 years ago

ShenKang4181 commented 4 years ago

image image v1.4.53 unity5.5.6 The value of my script is a decimal, which is displayed as an integer in RuntimeInspector

After importing the plugin, I made these changes In order to solve the error report and solve the API that my unity does not have

yasirkula commented 4 years ago

Thank you for the 5.5.6 feedback. I'm aware of the numerical value issue; AFAIK it happens on cultures that use ',' (comma) instead of '.' (period) as decimal separator. Unity's InputField doesn't accept ',' (comma) in number fields. I'll try to resolve this issue.

ShenKang4181 commented 4 years ago

I tried to select the input box, click on the blank space to cancel the selection, and then select the input box again, the decimal point actually appeared miraculously

------------------ 原始邮件 ------------------ 发件人: "Süleyman Yasir KULA"<notifications@github.com>; 发送时间: 2020年6月16日(星期二) 下午5:31 收件人: "yasirkula/UnityRuntimeInspector"<UnityRuntimeInspector@noreply.github.com>; 抄送: "申康康"<1284784181@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [yasirkula/UnityRuntimeInspector] Numerical display error (#21)

感谢您的5.5.6反馈。我知道数值问题;AFAIK发生在使用“,”(逗号)而不是“。”的文化中。(句点)作为小数点分隔符。Unity的InputField在数字字段中不接受','(逗号)。我将尝试解决此问题。

— 您收到此消息是因为您创建了线程。 直接回复此电子邮件,在GitHub上查看,或取消订阅。

ShenKang4181 commented 4 years ago

Thank you and love you

yasirkula commented 4 years ago

Can you unzip the attached archive and import the unitypackage to your project to see if these issues are resolved? RuntimeInspector.zip

ShenKang4181 commented 4 years ago

Yes, my problem has been solved, and now the value is displayed normally, thank you, love you yasirkula

ShenKang4181 commented 4 years ago

Is this a special version for me?

yasirkula commented 4 years ago

I'll update the repository, as well. I just wanted make sure beforehand that the issue is resolved 😃

ShenKang4181 commented 4 years ago

😃😃😃😃😃😃😃😃😃😃😃😃😃😃