Как получить доступ к текстовой GameObjceet в Unity и изменить его

Text text = gameObj.GetComponentInChildren(typeof(Text)) as Text;
text.text = "text stuff";
text.font = prefferedFont;
Successful Sandpiper