Enable HTML-style tags for Text Formatting Markup.
Supported tags are:
GetComponent(TextMesh).richText = true;
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Example() {
GetComponent<TextMesh>().richText = true;
}
}import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
GetComponent[of TextMesh]().richText = true