FontStyle.Bold Manual     Reference     Scripting  
Scripting > Enumerations > FontStyle
FontStyle.Bold

FontStyle.Bold

Description

Bold style applied to your texts.

JavaScripts
guiText.fontStyle = FontStyle.Bold;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
guiText.fontStyle = FontStyle.Bold;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
guiText.fontStyle = FontStyle.Bold