cara mengakses teks gameobjceet di Unity dan mengubahnya

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