Question by
victordobra327 · Feb 03, 2021 at 11:01 PM ·
uiscript.
How to get rich text from TextMeshPro input field?
So, I am working on a project in which I need to use the rich text from an TextMeshPro from an InputField to restrict which parts of the text are editable. In the input field the rich text is Open<color=#00D138>Door</color>
owever, when I use TMP_InputField.text
I only get OpenDoor 1
. How do I get the complete text?
Comment
Have you tried getting the text
of the text component?
Something like T$$anonymous$$P_InputField.textComponent.text
?
Your answer
Follow this Question
Related Questions
On Button Click Create a gameobject (ui,no mouse stuff) 1 Answer
Image UI not enabling C# SOLVED 1 Answer
Spawn prefab on UI button click 0 Answers
On Button Click Create a gameobject (ui,no mouse stuff) 0 Answers
Manage a new property UI 0 Answers