ActionNames
namespace Griff.Scenes;
public static class ActionNamesFields that name an action (properties marked ActionNameAttribute, a trigger’s Do): the actions of the entities they’re done on, and a name none of them has, which the Inspector flags and the game reports as it starts (what the Inspector lists to pick from is Griff.Editing’s NameChoices).
Methods
Section titled “Methods”Problem
Section titled “Problem”public static string Problem(IReadOnlyList<string> names)Why the name is flagged, e.g. “Nothing it’s done on has an action called “Explode”“.
Targets
Section titled “Targets”public static IReadOnlyList<Entity> Targets(Component component, PropertyDescriptor property)The entities component’s property names actions of: those its On field names (those inside it first, as the game finds them), or its own entity when that’s empty. Empty when it isn’t on an entity.
Unmatched
Section titled “Unmatched”public static IReadOnlyList<string> Unmatched(Component component, PropertyDescriptor property)The name the field holds when none of its targets has an action called that; empty when it’s unset, when one does, or when it names no entity to check (those are flagged on their own field).