Writing texton static meshss

I know that the text render component of a static mesh will write something . But it’s just like a paper floating in the air. Is there a way I can put the text on the surface of the mesh like a material?