> For the complete documentation index, see [llms.txt](https://moratelli.gitbook.io/moratellis-toolbelt-for-tcg-engine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://moratelli.gitbook.io/moratellis-toolbelt-for-tcg-engine/tools/card-editor.md).

# Card Editor

The perfect tool to help you creating/editing cards.

### Demo

{% tabs %}
{% tab title="Toolbelt" %}

#### Duplicate a CardData

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FO8AMeh81hsq8e7YtgOSe%2Fuploads%2FOeougWW8Q0OYHDYzbpwa%2F2025-01-08%2009-16-36.mp4?alt=media&token=5367243a-4f69-4f5e-ab52-6e6d23d0fa84>" %}

{% hint style="info" %}
CardEditor will update the id to match the file\_name and put the clone in the same folder, making really easy to keep Cards of same team together.
{% endhint %}
{% endtab %}

{% tab title="Unity's Default" %}

#### Duplicate a CardData

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FO8AMeh81hsq8e7YtgOSe%2Fuploads%2FzAcz3Smc2vBwJ9owe3x9%2FBlank%20TCG%20-%20SampleScene%20-%20Windows%2C%20Mac%2C%20Linux%20-%20Unity%202022.3.54f1%20_DX11_%202025-01-08%2008-59-03.mp4?alt=media&token=64dcf57e-6e85-41ce-aae1-3bbaabc7178c>" %}

{% hint style="warning" %}
If you duplicate the file while a search is active, the file will be placed in the root folder,  what is a mess since it cannot be correctly load if is out of Resources folder.
{% endhint %}
{% endtab %}
{% endtabs %}

You can check more [**demos here**](/moratellis-toolbelt-for-tcg-engine/tools/card-editor/demos.md)**.**

### Default View

<figure><img src="https://4020231458-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FO8AMeh81hsq8e7YtgOSe%2Fuploads%2FdTmKYWRtz88TrP1crBGQ%2Fimage.png?alt=media&amp;token=431a608c-56f2-497e-abf8-816c4d92f106" alt=""><figcaption></figcaption></figure>

### Toolbar

* "<img src="https://4020231458-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FO8AMeh81hsq8e7YtgOSe%2Fuploads%2FRkknPsCyQYWw4SqDbKYx%2Fimage.png?alt=media&amp;token=29f6650f-c570-47c7-bab6-fc2fe07d574e" alt="" data-size="line"> ": Reload all scriptable objects (allowing for small changes while playing the game)
* "Refresh Fields": Reload all fields made to build Card Editor's inspector
* "Clone": Duplicate the current Scriptable Object
* "Rename File": Quick way to rename the current Scriptable Object
* "Delete": Delete the current Scriptable Object
* "Preview": Preview the current Card in the selected prefab (CardUI, HandCard, BoardCard, etc.) in a temporary scene to tweak the UI

{% hint style="info" %}
Preview requires a selected Prefab and Variant
{% endhint %}

### Features

* Find a Card
  * Editor has a search box to find cards when you know the respective id ![](https://4020231458-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FO8AMeh81hsq8e7YtgOSe%2Fuploads%2FvmoOT7arWkGWAkITHiYs%2FScreenshot_2.png?alt=media\&token=891fb3b8-2ad4-466a-9185-81ac608d7ae4)
* Preview Card
  * Setup a GameObject that has the CardUI (like BoardCard or HandCard);
  * Setup your VariantData to see a preview of the card, allowing for quick changes with real data to fine tune details
  * Hit preview and fine tune your UI (just make sure you are looking to Scene and not Game view). ![](https://4020231458-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FO8AMeh81hsq8e7YtgOSe%2Fuploads%2FbKKuUksserT5YfjuVolK%2FScreenshot_3.png?alt=media\&token=64ac9983-7c5b-41ae-9fbc-e4a1f396239a)
* Rename Scriptable Object
* Delete Scriptable Object
* Duplicate Nested Scriptable Object ![](https://4020231458-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FO8AMeh81hsq8e7YtgOSe%2Fuploads%2FpsJeSPBtYxXcRYRbRnk8%2FScreenshot_5.png?alt=media\&token=d7929167-f16f-4e56-bc3b-a8ba09f66254)
  * Allows to duplicate all field to make new abilities/cards/effects really fast;
  * Handle array duplication creating a new array on memory to avoid weird behaviors while changing the copy;
  * Auto associate with the field / add item if is a list;
  * Sets the ID as the name to make the process of duplication better.
* Preview `art_full`and `art_board`
* InlineEditor for all nested Scriptable Objects
* Powerful customizable editor
