Pardon our dust! Docs for Yarn Spinner for Unity 3.2 and Yarn Spinner for Godot C# are on docs.yarnspinner.dev (the old docs site). Docs for Yarn Spinner for Unity 3.3 (pre-release, out ASAP), Yarn Spinner for Godot GDScript and Yarn Spinner for Unreal Engine (work in progress) are on /docs/ (the new docs site).

YarnTypewriter

class_name YarnTypewriter
extends Resource

Inherits from Resource

#Nested Types

#Properties

#action_markup_handlers

var action_markup_handlers: Array = []

Type Array

#text_element

var text_element: RichTextLabel

Type RichTextLabel

#Methods

#content_did_dismiss()

func content_did_dismiss() -> void

#content_will_dismiss()

func content_will_dismiss() -> void

#prepare_for_content(YarnMarkupParseResult, String)

func prepare_for_content(line: YarnMarkupParseResult, display_text: String) -> void

Parameters

#run_typewriter(YarnMarkupParseResult, String, YarnCancellationToken)

func run_typewriter(line: YarnMarkupParseResult, display_text: String, token: YarnCancellationToken) -> void

Parameters

#word_boundaries(String)

static func word_boundaries(text: String) -> PackedInt32Array

Parameters

  • textString

Returns PackedInt32Array

Generated from Yarn Spinner for Godot GDScript 3.3.