StatAttribute
namespace Griff.Scenes;
public sealed class StatAttribute : FieldEditorAttributeMarks a string property as a number of a target’s components to change, “Value” or “Health.Max” (a component’s name and its property’s): the Inspector lists the number properties of what’s in the scene to pick from, those of the things its targets are first (the components on any entity with one of targets, and those).
Properties
Section titled “Properties”Targets
Section titled “Targets”public IReadOnlyList<Type> Targets { get; }The kinds of component its targets have (a card’s buff’s: Card and Health); empty when it can be anything.
Methods
Section titled “Methods”Describe
Section titled “Describe”public override string Describe()