StandardUIResponseButton with textmeshpro
Posted: Wed Apr 20, 2022 9:50 am
Hi Tony, In your template, a StandardUIResponseButton uses Unity Button/Text UI to display text, it working perfectly
However, if I remove the text UI component and replaced with text mesh pro component, keep the same "text" name under the button, the menu formattedText.text is not showing
Currently I modified StandardUIMenuPanel and manually assign the formattedText.text to the target button>textmeshpro
Just curious if there's a better way instead hard code it, tks
However, if I remove the text UI component and replaced with text mesh pro component, keep the same "text" name under the button, the menu formattedText.text is not showing
Currently I modified StandardUIMenuPanel and manually assign the formattedText.text to the target button>textmeshpro
Just curious if there's a better way instead hard code it, tks