Class StandardTypewriter
Text Typewriter (TextMeshProUGUI Only).
Events
onStopped
Called when stopped.
public event Action onStopped;
onUpdated
Called when text updated.
public event Action onUpdated;
onFinished
Called when finish (whether completed or stopped).
public event Action onFinished;
onCompleted
Called when completed.
public event Action onCompleted;
Properties
paused
Is paused?
public bool paused { get; private set; }
timeScale
public bool timeScale { get; set; }
interval
public float interval { get; set; }
text
public string text { get; set; }
textMeshProUGUI
public TextMeshProUGUI textMeshProUGUI { get; set; }
Constructors
StandardTypewriter(bool timeScale)
public StandardTypewriter(bool timeScale)
StandardTypewriter(TextMeshProUGUI textMeshProUGUI)
public StandardTypewriter(TextMeshProUGUI textMeshProUGUI)
StandardTypewriter(float interval)
public StandardTypewriter(float interval)
StandardTypewriter(string text, float interval)
public StandardTypewriter(string text, float interval)
StandardTypewriter(TextMeshProUGUI textMeshProUGUI, float interval, bool timeScale)
public StandardTypewriter(TextMeshProUGUI textMeshProUGUI, float interval, bool timeScale)
Methods
Start()
public Coroutine Start()
Start(string text)
public Coroutine Start(string text)
Start(Color textColor)
public Coroutine Start(Color textColor)
Start(TextMeshProUGUI textMeshProUGUI, string text)
public Coroutine Start(TextMeshProUGUI textMeshProUGUI, string text)
Start(TextMeshProUGUI textMeshProUGUI, string text, Color textColor)
public Coroutine Start(TextMeshProUGUI textMeshProUGUI, string text, Color textColor)
Pause()
public void Pause()
Unpause()
public void Unpause()
Stop([bool resetTextColor = true])
public void Stop([bool resetTextColor = true])