Installation
Create a new Unity project
Open the Unity Hub and create a new 2D project:
Info
The kit requires using Unity 2022.3.0 LTS or higher. We always recommend using the latest LTS version available. Long-term support releases of Unity are the most stable for production purposes.
Warning
We do not provide support for alpha or beta releases of the engine. These versions are under heavy development and they might have issues that are completely outside our control.
Import DOTween into your project
Download and import the free DOTween asset into your project.
Import TextMeshPro Essential Resources into your project
Select the TextMeshPro/Import TMP Essential Resources option in the Window menu. This will make sure you can use TextMeshPro in your project.
Import Single-Player CCG Kit into your project
Download and import the Single-Player CCG Kit asset into your project.
Make sure you import the kit as a complete project and that you answer "yes" when asked if you want to include the package dependencies. This will automatically install the package dependencies required.
Build the content
The kit uses the new Addressables package in Unity to manage its dynamic resources. In order to be able to use the kit without any issues, you need to build the content before playing for the first time as follows:
- Open the Window/Asset Management/Addressables/Groups window and click on the Create Addressables Settings button.
- Select the Tools/Single-Player CCG Kit/Build content menu option (please note this is not the Tools option in the Addressables window, but the menu option in the Unity editor itself).
And that is it!
Please note that, when generating a build of the game (e.g., desktop, mobile) and by the way Addressables-based content works, you always need to make sure to build the content before generating the build. The content is platform-specific and therefore you need to build it for every platform you are interested in (i.e., it is not enough to build it just once). It is highly recommended that you get familiar with how Addressables work in Unity, as it introduces a more advanced workflow suitable for games with a lot of dynamically-loaded content like a single-player CCG.
Enable Fast Play Mode in the Unity editor
This step is optional but, because the kit is compatible with the new Fast Play Mode available since Unity 2019.3, you should always enable it to get a blazing fast experience when pressing the Play button in the Unity editor. You can change this in your Project Settings (located in the Edit/Project Settings menu option). In the Editor section, toggle the Enter Play Mode Options (Experimental) flag on.
Play
If all goes well, you should not have any errors on the console and you should be able to run the game by opening the Map scene and clicking on the Play button. Make sure you have added all the scenes (located in the SinglePlayerCCGKit/Scenes folder) to your build settings if you want to build a player.
If you run into any issues during the process, please reach our support and we will be happy to help.