Unity is a game engine that allows developers to build games for many platforms, including Desktop, Mobile, VR, WebGL, Consoles, and many more. To begin using Unity we first need to install it.
Steps To Install Unity
- Download and install Unity Hub (An all-in-one Unity installer and project management software)
- Upon opening Unity Hub, you'll need to sign in using a Unity account.
- If you do not have an account, you can create one here.
The starter license is free, but if you want to get a Pro license, you can get one on the Pro Page.
Advantages of The Unity Pro License
- Ability to remove the Unity splash screen
- Ability to use real-time Cloud diagnostics and analytics
- No cap on the profits
Installing Unity Through The Hub
- In Unity Hub click 'Installs' then click 'ADD'
- As you'll, there are many versions to choose from, but if you're just starting, then you can select the Recommended Release, then click 'NEXT'
- You'll be presented with the module selection. Modules are the add-ons required to build the game for a specific platform. For example, if you are planning to make games for Android and iOS then select 'Android Build Support' and/or 'iOS Build Support'. You can select as many modules as you need.
- After the needed modules are selected, click 'DONE', the Hub will then begin the download.
Create a New Unity Project
- In Unity Hub click on 'Projects' then click 'NEW'
- A new window will appear where you can set the project name, select the project template, and pick the location where the project folder will be created:
- If you want to develop a 2D game, select the '2D' template, otherwise select the '3D' template (Tip: Click on the (i) icon near each template to see what's included in it).
- Click 'CREATE' and wait for the new project to initialize.
- After the project is created, the Unity editor will be opened automatically: