Yarn Scripts
Learn about Yarn scripts, which are the assets that contain the dialogue you write.
Last updated
Was this helpful?
Learn about Yarn scripts, which are the assets that contain the dialogue you write.
Last updated
Was this helpful?
A Yarn script is a text file containing your dialogue.
To create a new Yarn script in Unity, follow these steps:
Open the Assets menu, and choose Yarn Spinner -> Yarn Script.
Unity will create a new file. Type in a name for the file, and press return.
To edit a Yarn script, double-click it in Unity. The file will open in your editor. When you save your changes and return to Unity, it will be re-compiled.
The new file that you've just created will contain a single , which has the same name as the file.