跳到主要内容

Class CommonTypewriter

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

CommonTypewriter()

public CommonTypewriter()

CommonTypewriter(bool timeScale)

public CommonTypewriter(bool timeScale)

CommonTypewriter(TextMeshProUGUI textMeshProUGUI)

public CommonTypewriter(TextMeshProUGUI textMeshProUGUI)

CommonTypewriter(float interval)

public CommonTypewriter(float interval)

CommonTypewriter(TextMeshProUGUI textMeshProUGUI, bool timeScale)

public CommonTypewriter(TextMeshProUGUI textMeshProUGUI, bool timeScale)

CommonTypewriter(TextMeshProUGUI textMeshProUGUI, float interval, bool timeScale)

public CommonTypewriter(TextMeshProUGUI textMeshProUGUI, float interval, bool timeScale)

Methods

Coroutine Start()

public Coroutine Start()

Coroutine Start(string text)

public Coroutine Start(string text)

Coroutine Start(TextMeshProUGUI textMeshProUGUI)

public Coroutine Start(TextMeshProUGUI textMeshProUGUI)

void Pause()

public void Pause()

void Unpause()

public void Unpause()

void Stop([bool resetVisibleCharacters = true])

public void Stop([bool resetVisibleCharacters = true])