ActionValueAttribute
namespace Griff.Scenes;
public sealed class ActionValueAttribute : FieldEditorAttributeMarks a string property as the value an action is done with, the action named by another property (a trigger’s With, for its Do): the Inspector gives a number, a tick for true or false, or the names it takes (flags for Set Flag, scenes for Load Scene), as the action wants, and flags a value that isn’t one.
Properties
Section titled “Properties”Action
Section titled “Action”public string Action { get; }The property of the component naming the action.
Methods
Section titled “Methods”Describe
Section titled “Describe”public override string Describe()public ComponentAction? Find(Component component)The action component’s Action names, on the first of its targets (or its own entity) that has one; null when none does yet.
Problem
Section titled “Problem”public override string? Problem(Component component, object? value)