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:
- Open Tools → CardFanUI.
- Confirm the creation and generator commands are listed.
- Open
Samples/Scenes/CardHandDemo.unity. - 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.