Skip to content

CellKind

namespace Griff.Scenes;
public enum CellKind

What a cell of a RowsAttribute row holds, and so how the Inspector edits it.

  • Text = 0: Words of its own: a line said, a name given here.
  • Number = 1: A number, e.g. 0.8 seconds or 6%.
  • Whole = 2: A whole number, e.g. how many.
  • Name = 3: A name of something the project has (Names): an item, an input action, a resource.
  • Tile = 4: A tile of the tilemap’s tilesets, by number (or a range, “3-4”), picked off the tiles.
  • Image = 5: An image in Assets.
  • Sound = 6: A sound or music file in Assets.
  • Color = 7: A color, as hex (“#8B5A2B”).
  • Choice = 8: One of a fixed few (Choices).
  • Amounts = 9: Names and how many of each, joined with “+” (“Wood + Coal 2”), each picked like a Name.