Hi, i’m building from code a 3D Text, since now I succeeded in creating all the components but one.
I try to explain; this is the game object final state:
Via script I instantiated the mesh renderer and the Text Mesh component, although those two components are set in a proper way, the Font Material appears with the name Default-Diffuse (Instance) and without parameters:
How can I set the Default-Diffuse properties via script?