Text Animator for Unity
More ToolsTutorialsDiscord✨ Get Text Animator ✨
2.X 🇬🇧
2.X 🇬🇧
  • ❤️Welcome
    • Text Animator for Unity
    • Features
    • Games Showcase
    • Quick Start
  • ✨effects
    • Add effects to your texts
      • Modifiers
      • Styles
      • Databases
    • Preview and Edit effects
      • Dynamic Scaling
      • Time Scale
    • Built-in effects list
    • Create your own effects
      • Create effects in the Inspector
        • Curve Effects
        • Composite Effects
      • Writing Custom Effects (C#)
  • ✏️typewriter
    • Show and hide letters dynamically
    • Play sounds when a letter is shown
    • Trigger Events when typing
    • Wait Actions when typing
  • 🤝Integrations
    • Integrated Plugins & Dialogues Systems
      • Dialogue System for Unity
      • Yarn Spinner
      • Ink
      • Game Creator 2
      • Unity Localization Package
      • Playmaker
      • Unity Visual Scripting
      • Naninovel
    • How to manually integrate Text Animator
  • Extra Customization via C#
    • Writing Custom Typewriters (C#)
    • Writing Custom Actions (C#)
  • Other
    • Best Practices
    • Requirements & Limitations
    • Frequently Asked Questions
    • Support
    • Changelog
      • 2.X
      • Upgrading from 1.X to 2.X
      • 1.X
    • Scripting API
Powered by GitBook
On this page
  • Yarn Spinner 2.X & Text Animator for Unity
  • Yarn Spinner 1.X with Text Animator Unity
  1. Integrations
  2. Integrated Plugins & Dialogues Systems

Yarn Spinner

PreviousDialogue System for UnityNextInk

Last updated 8 months ago

.

Yarn Spinner 2.X & Text Animator for Unity

You can integrate Yarn Spinner 2.X in two main ways.

  • The first one is to use TextAnimator's typewriter (so, disabling Yarn Spinner's one), which is preferable in case you want to use all Text Animator's features like pausing the typewriter, waiting for player input and more.

    • In the "Line View" script, disable "Use Typewriter" and "Use Fade Effect".

    • Add the components TextAnimator_TMP and TypewriterByCharacter to your dialogue text, as shown in the Integrated Plugins & Dialogues Systems.

    • P.S. Based on how you setup your canvas, the text might flicker for one frame. If that happens, be sure to call "tmproText.ClearMesh(true)" before showing a new dialogue line, and once the canvas disappears. For example, as following if you have a "Continue" button:

  • The second way is to keep using Yarn Spinner's typewriter (but you wouldn't be able to use Text Animator's typewriting features).

    • In the "Line View" script, set "Use Fade Effect" and "Use Typewriter Effect" to true.

    • Add a TextAnimator_TMP component to your dialogue text, and be sure to disable "Typewriter Starts Automatically".

Yarn Spinner 1.X with Text Animator Unity

  • Use TextMeshPro instead of Unity's built-in Text

  • "DialogueUI" component, set "text speed" to 0.

  • "DialogueUI" component, set the "OnLineUpdate" event with TextMeshPro's text.

  • Add the components TextAnimator_TMP and TypewriterByCharacter to your dialogue text, as shown in the Integrated Plugins & Dialogues Systems.

🤝
Yarn Spinner (open source): website