- Home /
Question by
Hannos · Jan 09 at 04:10 PM ·
uiplayerprefstextmeshinputfield
Text MeshPro Input field insert integer?
I have a TextMeshPro Input field added to my scene. I set it's preferences so that you can only insert integer values. Now I want to change the text of the field to an integer that is stored in PlayerPrefs. The problem is that I can only insert strings. Can someone help me? Pls send the entire code, I'm pretty new to coding...
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613051449im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Updating ui not working in fixed update .But it works in update 1 Answer
How do I change "return"/"submit" button to "search" in native android keyboard in TMP_InputField? 1 Answer
Allow TMP_InputField to show HTML Tags even Rich Tags are ENABLED. 0 Answers
Textmesh Pro Input Field Rich Text 3 Answers