|
The size of each character (This scales the whole text)
GetComponent(TextMesh).characterSize = 10;
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Example() {
GetComponent<TextMesh>().characterSize = 10;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Example():
GetComponent[of TextMesh]().characterSize = 10