why my text is not shown? [all the details inside]

hey all,

i am trying to create text on runtime.
I did the following steps:

1.i created gameobject
2. added text component.
3. set the text for the component.
4. set his parent to my prefab.

but my text is not shown…
this is how its look like on runtime-

this is my code:

GameObject number;

void Start () {

number = new GameObject(“number”);

var newtext = number.AddComponent();

newtext.text = “teateat”;

newtext.alignment = TextAnchor.MiddleCenter;

newtext.transform.SetParent(transform);

}

what did i do wrong?

I noticed the Font in the Inspector is set to None. What happens when you change this during runtime?