Single Player CCG Kit Installing the kit
Create a new Unity project
Open Unity (you will need to use Unity 2019.3.0f5 or higher) and create a new 2D project:
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: 2D Animation, 2D PSD Importer, Addressables and Entities.
Prepare the content
The kit uses the new Addressables package in Unity to manage its dynamically-managed resources. In order to be able to use the kit without any issues, you need to prepare 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/Prepare content menu option.
And that is it!
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 in 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.
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 Game 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.
Building your game for a player
When building your game for a player, you need to make sure to select the Build/Build Player Content in the Addressables window (located in the Window/Asset Management menu option) before making a build for your target platform. This will build the content of the game for your target platform. This step is not needed if you are playing from the editor.