A game about forced loneliness, made by TACStudios
1#if TEXT_TRACK_REQUIRES_TEXTMESH_PRO
2
3using System;
4using UnityEngine;
5using UnityEngine.Playables;
6
7namespace Timeline.Samples
8{
9 // Runtime representation of a TextClip.
10 // The Serializable attribute is required to be animated by timeline, and used as a template.
11 [Serializable]
12 public class TextPlayableBehaviour : PlayableBehaviour
13 {
14 [Tooltip("The color of the text")]
15 public Color color = Color.white;
16
17 [Tooltip("The size of the font to use")]
18 public int fontSize = 14;
19
20 [Tooltip("The text to display")]
21 public string text = "";
22 }
23}
24
25#endif