If you fully qualify the YarnCommand attribute (so [Yarn.Unity.YarnCommand("do_a_thing")] instead of [YarnCommand("do_a_thing")]) even though this works fine in Unity the LSP doesn't correctly link this in the editor.
This means you get warnings about the command even though it works fine.
As a workaround you can import Yarn.Unity and then use the shorter form.
If you fully qualify the YarnCommand attribute (so
[Yarn.Unity.YarnCommand("do_a_thing")]
instead of[YarnCommand("do_a_thing")]
) even though this works fine in Unity the LSP doesn't correctly link this in the editor.This means you get warnings about the command even though it works fine. As a workaround you can import
Yarn.Unity
and then use the shorter form.