var font : Font
Description
The font used for the text.
var font : Font;
guiText.font = font;
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
public Font font;
void Example() {
guiText.font = font;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
public font as Font
def Example():
guiText.font = font