跳到主要内容

Class Typewriter

Events

onStoped

public Action onStoped

onFinished

public Action onFinished

onCompleted

public Action onCompleted

onUpdate

public Action<string> onUpdate

Properties

interval

public float interval { get; set; }

text

public string text { get; set; }

enableRichText

public bool enableRichText { get; set; }

Constructors

Typewriter()

public Typewriter()

Typewriter(string text)

public Typewriter(string text)

Typewriter(float interval)

public Typewriter(float interval)

Typewriter(bool enableRichText)

public Typewriter(bool enableRichText)

Typewriter(string text, float interval)

public Typewriter(string text, float interval)

Typewriter(string text, bool enableRichText)

public Typewriter(string text, bool enableRichText)

Typewriter(string text, float interval, bool enableRichText)

public Typewriter(string text, float interval, bool enableRichText)

Methods

Coroutine Start()

public Coroutine Start()

Coroutine Start(string text)

public Coroutine Start(string text)

Coroutine Start(string text, float interval)

public Coroutine Start(string text, float interval)

void Stop()

public void Stop()