Yarn Spinner for Unity v2.5
Yarn Spinner for Unity » Devlog
Yarn Spinner v2.5!
📜 Changes
Added
DialogueRunner.AddCommandHandler
andDialogueRunner.AddFunction
now validate that the provided names contain no spaces.DialogueRunner.AddCommandHandler
now supports methods whose last parameter is an array of strings.- This allows for commands with a variable list of parameters. For example, consider the following method:
This method can be registered as a Yarn command:void LogStrings(int a, string[] remainder) { Debug.Log($"a = {a}, remainder={string.Join(",", remainder)}"); }
And called from Yarn Spinner:dialogueRunner.AddCommandHandler<int, string[]>("my_command", LogStrings);
// logs "a = 42, remainder=this,is,pretty,great" <<my_command 42 this is pretty great>>
[!NOTE] Array parameters are required to be string arrays, and are required to be the last parameter of the method.
- This allows for commands with a variable list of parameters. For example, consider the following method:
- Yarn Spinner’s XML documentation is now included in the distribution.
Changed
- Fixed an issue where, on Windows, projects would fail to automatically update when a file that belonged to them was created or edited.
- Fixed an issue where Unity Localization
rid
values would change on reimport when they didn’t have to. - Fixed an issue where a
[pause/]
marker at the start of the line would cause all pauses to not work (@iatenothingbutriceforthreedays) - Inspector-exposed fields on
LineView
are now public. - Fixed an issue where a
.meta
file was causing warnings to appear in Unity on import. (@Colbydude) YarnProjectImporter.GenerateStringsTable
is now public.- Yarn Projects now allow choosing more specific cultures (for example ‘pt-BR’ and ‘en-AU’ rather than simply ‘pt’ and ‘en’) as their base language.
- Fixed a issue where
AudioLineProvider
would throw an exception if an asset was already loaded and was requested a second time.
Files
Previous Version: Yarn Spinner for Unity v2.5.2 (42f84a92) 5.1 MB
95 days ago
Yarn Spinner for Unity Samples v2.5.2 (42f84a92) 23 MB
95 days ago
Get Yarn Spinner for Unity
Buy Now$50.00 USD or more
Yarn Spinner for Unity
The friendly dialogue tool for your games.
Status | Released |
Category | Tool |
Author | Yarn Spinner |
Tags | dialogue, Narrative, storytelling, tool, Twine, Unity, writing, yarn-spinner |
More posts
- Yarn Spinner 316 days ago
- Yarn Spinner for Unity v2.4.2Feb 27, 2024
- Yarn Spinner 2.4Nov 17, 2023
Leave a comment
Log in with itch.io to leave a comment.