Skip to content

Installation

Requirements

  • Unity 6 or Unity 2022.3 LTS
  • Unity UI (UnityEngine.UI)
  • TextMeshPro
  • An EventSystem for pointer interaction

Import

Import CardFanUI into the project and keep its folder structure:

Assets/PixitGames/CardFanUI/
├── Runtime/
├── Editor/
├── Scripts/
├── Samples/
├── Resources/
└── Documentation/

The runtime code is isolated in the CardFanUI assembly. Editor-only utilities are isolated in CardFanUI.Editor.

Verify the installation

After Unity finishes compiling:

  1. Open Tools → CardFanUI.
  2. Confirm the creation and generator commands are listed.
  3. Open Samples/Scenes/CardHandDemo.unity.
  4. Enter Play Mode and test hover and drawing.

Warning

Do not place runtime scripts inside an Editor folder. Card, deck, and template assets are created under CardFanUIData, not under the Editor folder.

Generated data location

Assets/PixitGames/CardFanUI/CardFanUIData/
├── Cards/
├── Decks/
└── Templates/