Sorry if this was discussed here already, but i haven't found anything.
I want to do a coversion from (Game)Object to UIFont
Solution:
UIFont realFont = (font.Value as GameObject).GetComponent<UIFont>();
UILabel lbl = NGUITools.AddWidget<UILabel>(go);
lbl.font = realFont;
lbl.text = contentText.Value;
lbl.color = textColor.Value;
lbl.MakePixelPerfect();
After two days i found a solution! Yay..
Thanks anyway for listening
