Creating a new Unity project for our CCG

The first thing we are going to do is to download and install Unity Hub from here. Unity Hub is a desktop application that acts like an entry point for all Unity-related matters on your machine (projects, installed versions of the engine, licenses, etc.). It is much more convenient than manually handling all the different versions of the engine that may be installed on your machine at any point in time and is, in fact, the only supported way to launch the engine since Unity 2019.

Once you have downloaded and installed Unity Hub, create a new, empty project using Unity 2020.3.35 LTS.

Choose a descriptive name for your project and select the 2D template.

The next step is to add the Entities package via the Package Manager (make sure to select the Enable Preview Packages option in the Advanced Project Settings window). You can find the complete installation instructions of this package here.

Please note the current version of the Entities package is not compatible with Unity 2021. As soon as a new version of this package is released with compatibility with this version of the engine, we will upgrade the complete project.

Finally, download the free DOTween asset from the Asset Store and import it into your project (you need to do this from the Package Manager as well; just select the My assets option at the top). Make sure you perform the additional setup step that DOTween requires by selecting the Setup DOTween option in the Tools/Demigiant/DOTween Utility Panel menu.

We will use DOTween for all the tweens/animations in our game. In that regard, it is one of the most well-known, performant libraries available for Unity.

Before moving forward, make sure to enable the Enter Play Mode Options setting in your Project Settings/Editor (available from the Edit menu). It is a good idea to enable it in all your new projects, as it will make entering Play mode blazingly fast, which will help improve your iteration times significantly.

With our project correctly set up (you should have no errors in the console at this point), we are ready to go!

Complete and Continue