Unity Installation Guide with Android Module
Step 1: Download Unity Hub
Go to the official Unity website: https://unity.com/download
Download and install Unity Hub for your operating system (Windows or Mac).
Step 2: Install Unity Editor
Open Unity Hub and go to the 'Installs'
tab. Click 'Install Editor'.
Select the latest LTS (Long Term Support) version for
stability. During installation, make sure to select the
following modules:
- Android Build Support
- Android SDK & NDK Tools
- OpenJDK
- Windows Build Support (if needed)
Step 3: Install Visual Studio Code (VS Code)
Go to https://code.visualstudio.com/
Download and install VS Code for your
OS.
During installation, check 'Add to PATH' and 'Register Code as
editor'. You can also install Unity extensions from the VS Code
Marketplace later.
Step 4: Link VS Code with Unity
In Unity Hub:
- Go to 'Preferences' > 'External Tools'.
- Under 'External Script Editor', choose 'Visual Studio Code'.
If VS Code is not listed, click 'Browse' and locate the VS Code executable.
Step 5: Create a New Project
In Unity Hub, go to 'Projects' and click 'New Project'.
Choose a template (e.g., 3D or URP).
Set the project location and name.
Click 'Create' to launch Unity with your new project.
Step 6: Setup Android Build Support
In Unity Editor:
- Go to 'File' > 'Build Settings'.
- Select 'Android' and click 'Switch
Platform'. This will initialize Android
build settings.
You can now build and deploy Android apps using Unity.