TileNumbersAttribute
namespace Griff.Scenes;
public sealed class TileNumbersAttribute : FieldEditorAttributeMarks a property as tiles of a tilemap’s tilesets, by number: a string of numbers and ranges (“10-15, 20”, see ParseTileSet), or a whole number for one tile. The Inspector shows the tilesets’ tiles to click, each picked one marked. The tilemap is the component itself, or the one on its entity.
Properties
Section titled “Properties”FitsText
Section titled “FitsText”public override string FitsText { get; }Methods
Section titled “Methods”Describe
Section titled “Describe”public override string Describe()public override bool Fits(Type type)Problem
Section titled “Problem”public override string? Problem(Component component, object? value)public static IReadOnlyList<int> Read(string? text)The tile numbers a string holds, in order, ranges filled in.