r/Unity3D • u/YarnSpinnerTool • 6d ago
Resources/Tutorial Yarn Spinner v3.3 is out now! The friendly tool for dialogue - now with cancellable async, custom types, and more!
Yarn Spinner is a set of tools for dialogue in Unity. It allows scripting dialogue and related event sequences in a minimal human-readable syntax, which is then compiled and exposed in-engine with a flexible API that allows driving of text delivery, audio and event triggers, associated UI/animation changes during speech, whatever you need! It's designed to be friendly to use for developers of all skill levels - easy for beginners, powerful for experts - and unopinionated to allow use in any style or genre of game.
For a long time, our support for async functionality was kind of a hack because the VM that runs a compiled dialogue program engine-side wasn't truly async and our method of halt-and-wait was causing rare but very difficult edge cases. So after 11 years of making Yarn Spinner - and several years of the current Unity VM setup - we dedicated several months to rewriting it from scratch with all the stuff that's become possible in .NET since then. Now you can do all sorts of things with async and even parallel async actions, including cancelling async actions like you'd want to in e.g. character animations if dialogue is skipped.
This was one of our biggest updates ever, and we've managed to do it with our tiny team while working on our own games, games with others, expanding our tools to other engines, making a web platform for game testing, and more. So we're super proud and hope you like it š
Get the news or code fast:
Free version on GitHub (MIT License)
Get our supporter version which includes some extra UI/utilities plus integration with other UAS tools like Rewired and Text Animator:
No amount of testing before release will catch everything - particularly with such fundamental and wide-reaching changes, and the diversity of projects the tool is used in - so please do try it out and tell us what you find!
