Skip to content

Editor Tools

All under Tools > TCG Kit.

Creates a game in a folder you choose. Starter makes a small playable game with a match scene, card prefab, starter deck and computer opponent. Blank makes an empty game definition, card database and installer. Choose a folder outside Assets/TCGKit.

Every card of a game in one table. Search by name, id or rules text, filter by type and rarity, and edit names, costs, stats and rarities in place (with undo). New Card creates a card set up like the game’s most common card type and adds it to the database. Add / Edit opens a card’s ability graph, creating one if needed.

See Abilities and Rules.

Checks the whole project and lists what it finds. Click a line to select the asset.

Errors (something will fail):

  • a game does not compile, with every reason;
  • a graph uses a stat, zone, card, card type, keyword or phase id the game does not have;
  • a deck breaks the game’s deck rules or has an empty slot;
  • a pack has no currency or no cards, or contains cards the game does not have.

Warnings (something will silently do nothing):

  • a graph has no trigger, or a node is not connected to anything that runs;
  • nothing is wired into an effect’s or target’s targets;
  • a card is in no game’s card database;
  • a pack costs, or matches pay out, a currency players never get.

The validator also runs when you press Play: errors go to the Console with the asset they concern, and warnings are summarised in one line. Turn this off with Validate Before Play.

During Play mode, shows the running match as the host sees it, hidden cards included, with a live log of every command and event.

  • Save Replay… saves the match as a .tcgreplay file.
  • Check Replay replays the match from scratch and confirms it reaches exactly the live state. If it does not, something outside the rules changed the state.
  • Replay: pick the match’s Match Installer, Open… a replay, and drag the slider to step through it move by move. This works outside Play mode, which makes replays useful for bug reports.

The debugger finds running matches through any component implementing IMatchHostProvider, which both bootstraps do.

  • Import TextMesh Pro Essentials: needed once per project for the sample’s text.
  • Rebuild Sample Game: rebuilds the sample from Editor/SampleBuilder.cs. It overwrites the sample folder.
  • Add Sample Scenes To Build Settings: needed before building the sample. Online is added only when Netcode for GameObjects is installed.
  • Rebuild Card Databases: refills every card database that has Auto Collect on. This also happens by itself whenever assets change.