YarnFunctionAttribute
Marks the method as a function to be registered with the dialogue runner.
public class YarnFunctionAttribute : YarnActionAttributeInherits from Yarn.Unity.YarnActionAttribute
This attribute is identified by a source generator and used to generate a file that performs the necessary action validation, registration, and parameter conversion for the function to be callable through your Yarn scripts.
The specific behaviour of function changes drastically depending on the method signature.
For full details of this see
https://docs.yarnspinner.dev/yarn-spinner-for-unity/creating-commands-functions which covers this nuance.Generated from Yarn Spinner for Unity 3.3.