TextMeshPro.fontSize

float fontSize;

Description

The font size to use.


using UnityEngine;
using System.Collections;
using TMPro;

public class ExampleClass : MonoBehaviour
{
    void Awake()
    {
        TextMeshPro textmeshPro = GetComponent<TextMeshPro>();
        textmeshPro.fontSize = 36.5f;
    }    
}