Make 3D text from some string variable

Hey im wondering if i got something like this

var Announcement : String;

function Update(){
Announcement = someDynamicVariable;
}

can i make 3d text from announcement?, means the 3d text is created in game, and put that object in some parent object if possible

sorry if my english or my question is confusing, i’ll make it as simple as possible,

hi

thanks for the answer, but i don’t really get it, i confused about
where the text object is generated /created, and how to change the text to the new one …

can you help me more ? i feel so dumb