YarnCommandAttribute.CommandString Property

The name of the command, as it exists in Yarn.

public string CommandString { get; set; }

Remarks

This value does not have to be the same as the name of the method. For example, you could have a method named “WalkToPoint”, and expose it to Yarn as a command named “walk_to_point”.

Source

Defined in Unity/Assets/YarnSpinner/Scripts/DialogueRunner.cs, line 1059.