All pages
Powered by GitBook
1 of 2

Loading...

Loading...

YarnActionAttribute

Attribute in Yarn.Unity

Inherits from System.Attribute

Summary

public class YarnActionAttribute : Attribute

Properties

Name
Description

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

Name

Name

Property in

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

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".

public string Name { get; set; }

Summary

Remarks

YarnActionAttribute