Skip to content

TableSetsAttribute

namespace Griff.Scenes;
public sealed class TableSetsAttribute : FieldEditorAttribute

Marks a list of strings as which properties take which of a table’s columns, one a line: Health.Max = Health (a Table Values’ Sets). The Inspector lists them a row each, the property picked from the entity’s components and the column from the table’s.

public override string FitsText { get; }
public string Table { get; }

The property of the component naming the table.

public override string Describe()
public override bool Fits(Type type)
public override string? Problem(Component component, object? value)