public float characterSize;

Description 描述

The size of each character (This scales the whole text).

using UnityEngine;

public class Example : MonoBehaviour { void Start() { GetComponent<TextMesh>().characterSize = 10; } }