how to access a text gameobjceet in unity and change it code example
Example: how to access a text gameobjceet in unity and change it
Text text = gameObj.GetComponentInChildren(typeof(Text)) as Text;
text.text = "text stuff";
text.font = prefferedFont;