Important
This project originally used free and paid Unity assets. We have removed them and they're linked below. You can substitute your own assets or purchase the original assets from the links below. The project will have errors until they are replaced.
- FREE Casual Food Pack- Mobile/VR
- Cartoon FX Remaster
- MilkyWay
- Quirky Series - Animals Mega Pack Vol 1
-
Download Unity Hub:
- Go to the Unity Hub download page.
- Click on "Download Unity Hub".
- Wait for the download to complete.
-
Install Unity Hub:
- Once the download is complete, locate the downloaded file (usually in your Downloads folder).
- Double click on the downloaded file to start the installation process.
- Follow the on-screen instructions to complete the installation.
-
Open Unity Hub:
- Once Unity Hub is installed, open it.
-
Sign in or Create a Unity ID:
- If you already have a Unity ID, sign in.
- If not, create a new Unity ID.
-
Add a License (if required):
- Depending on your needs, you may need to add a license. Follow the prompts to do so if required.
-
Go to the Installs Tab:
- In Unity Hub, navigate to the "Installs" tab on the left sidebar.
-
Click on "Add":
- Click on the "Add" button to add a new Unity version.
-
Select Version 6000.0.1f1 (this is a preview version):
- Scroll through the list of available Unity versions.
- Select version 6000.0.1f1.
- Click "Next".
-
Choose Modules:
- Choose the macOS module to install with this version of Unity.
- Click "Done" to start the installation process.
-
Wait for Installation:
- Unity Hub will now download and install Unity 6000.0.1f along with the selected modules.
- This process may take some time depending on your internet connection speed.
-
Installation Complete:
- Once the installation is complete, you'll see Unity 6000.0.1f listed under the Installs tab in Unity Hub.
-
Clone the Git Repository:
- Open Terminal.
- Navigate to the directory where you want to clone the repository.
- Use the
git clone
command followed by the URL of the Git repository.git clone (https://github.com/MichiganLabs/Hack-the-Lab-Simulation.git)
-
Open Unity Hub:
- Open Unity Hub if it's not already open.
-
Add the Project:
- In Unity Hub, go to the "Projects" tab on the left sidebar.
- Click on "Add" and navigate to the directory where you cloned the Git repository.
- Select the folder containing the Unity project and click "Select Folder".
-
Open the Project:
- The project will now appear in the Unity Hub under the "Projects" tab.
- Click on the project to select it.
- Click "Open" to open the project in Unity.
- Run your project locally:
- From the Hack the Lab Backend project run the project locally to be able to use the api.
- Select your scene:
- If not selected, from the project tab at the bottom of Unity click the OutdoorScene icon within the "Assets" folder.
- Run your scripts:
- In order to run your script they have to be added as a component to a GameObject.
- To add a script to a GameObject you can click a game object from the hierarchy on the left and then drag and drop your script into the inspector on the right.
- Now run your script by pressing the play button at the top.