- Home /
How to add font material to TextMesh in the code?
I want to create a textmesh in the code, i add the meshrederer, then the text on the screen is only with the color, then i know i need to add the matetial, which should be the font material, but how? Any ideas? thanks
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613013854im_/https://answers.unity.com/themes/thub/images/avi.jpg)