in my game I have a UI Text that I've called "label", and I want to set its font programmatically. I've tried to do this:
label.GetComponent<Text>().font="Arial";
I get an error because the font attribute doesn't want a string but a Font. So how can I set the font to Arial programmatically?