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

FontStyle.Bold

Description

Bold style applied to your texts.

JavaScript
guiText.fontStyle = FontStyle.Bold;

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

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