Class LinefeedTypewriter
Common Text Typewriter (TextMeshProUGUI Only).
This typewriter will cause lines to shift as text is added.
Events
onStopped
Called when stopped.
public event Action onStopped;
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
LinefeedTypewriter(bool timeScale)
public LinefeedTypewriter(bool timeScale)
LinefeedTypewriter(TextMeshProUGUI textMeshProUGUI)
public LinefeedTypewriter(TextMeshProUGUI textMeshProUGUI)
LinefeedTypewriter(float interval)
public LinefeedTypewriter(float interval)
LinefeedTypewriter(TextMeshProUGUI textMeshProUGUI, bool timeScale)
public LinefeedTypewriter(TextMeshProUGUI textMeshProUGUI, bool timeScale)
LinefeedTypewriter(TextMeshProUGUI textMeshProUGUI, float interval, bool timeScale)
public LinefeedTypewriter(TextMeshProUGUI textMeshProUGUI, float interval, bool timeScale)
Methods
Start()
public Coroutine Start()
Start(string text)
public Coroutine Start(string text)
Start(TextMeshProUGUI textMeshProUGUI)
public Coroutine Start(TextMeshProUGUI textMeshProUGUI)
Pause()
public void Pause()
Unpause()
public void Unpause()
Stop([bool resetVisibleCharacters = true])
public void Stop([bool resetVisibleCharacters = true])