Skip to content

TilesetsAttribute

namespace Griff.Scenes;
public sealed class TilesetsAttribute : FieldEditorAttribute

Marks a list of strings as tilesets, a line each: an image in Assets and its tiles across and down (“Tiles/props.png 4x4”, see MoreTilesets). The Inspector lists them a row each, with the image picked from the project’s and the numbers its tiles get.

public override string FitsText { get; }
public override string Describe()
public override bool Fits(Type type)