TextSwitcherBehaviour.cs 292 B

12345678910111213
  1. using System;
  2. using UnityEngine;
  3. using UnityEngine.Playables;
  4. using UnityEngine.Timeline;
  5. using UnityEngine.UI;
  6. [Serializable]
  7. public class TextSwitcherBehaviour : PlayableBehaviour
  8. {
  9. public Color color = Color.white;
  10. public int fontSize = 14;
  11. public string text;
  12. }