unity make bold text via script code example
Example: 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;