using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public class FunnyText : MonoBehaviour { public List texts; private void Start() { GetComponent().text = texts[Random.Range(0, texts.Count)]; } }