WorksWithAttribute
namespace Griff.Scenes;
public sealed class WorksWithAttribute : AttributePoints to a component that goes well alongside this one but isn’t needed, e.g. a Counter works with a Text to show its count. Shown in the editor’s catalog.
Properties
Section titled “Properties”public string? Back { get; init; }Lists this component on the other one’s own list too, with this note: for a module’s component (or a script’s) that goes well with one of Griff’s core components, which can’t name it, e.g. a Goal on a Pushable’s list.
public string? Note { get; init; }What the two do together, shown with the suggestion.
public Type Type { get; }