msouth
0
Q:

how to change text to bold through script unity

//Do this for bold
GameObject.Find(/*PutTxtNameHerein""*/).GetComponent<Text>().fontStyle = FontStyle.Bold;

//and this for normal
GameObject.Find(/*PutTxtNameHerein""*/).GetComponent<Text>().fontStyle = FontStyle.Normal;
0

New to Communities?

Join the community