FontStyle.BoldAndItalic Manual     Reference     Scripting  
Scripting > Enumerations > FontStyle
FontStyle.BoldAndItalic

FontStyle.BoldAndItalic

Description

Bold and Italic styles applied to your texts.

JavaScript
guiText.fontStyle = FontStyle.BoldAndItalic;

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

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