跳到主要内容

Class StandardTypewriter

Events

onStopped

public Action onStopped

onFinished

public Action onFinished

onCompleted

public Action onCompleted

Properties

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()

public StandardTypewriter()

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

Coroutine Start()

public Coroutine Start()

Coroutine Start(string text)

public Coroutine Start(string text)

Coroutine Start(Color textColor)

public Coroutine Start(Color textColor)

Coroutine Start(TextMeshProUGUI textMeshProUGUI, string text)

public Coroutine Start(TextMeshProUGUI textMeshProUGUI, string text)

Coroutine Start(TextMeshProUGUI textMeshProUGUI, string text, Color textColor)

public Coroutine Start(TextMeshProUGUI textMeshProUGUI, string text, Color textColor)

void Pause()

public void Pause()

void Unpause()

public void Unpause()

void Stop([bool resetTextColor = true])

public void Stop([bool resetTextColor = true])