Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.37 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.37 KB

Unity 2D Project Template

This template includes two sample scenes, each equipped with buttons that allow you to navigate between scenes using a scene manager script.

Prerequisites

Unity Hub with Editor Version 2022.3.6f1 - https://unity.com/download

Microsoft Visual Studio - https://learn.microsoft.com/en-us/visualstudio/install/install-visual-studio?view=vs-2022



Unity Hub Setup

From the Unity Hub Menu, click Open, and select the root folder of the repo.

Visual Studio Setup

In Unity

Go to Edit > Preferences > External Tools.

Change External Script Editor to Visual Studio.

After selecting the IDE, click on the Regenerate project files button at the bottom of the IDE settings in External Tools.

Double-click on a new or existing script to go to Visual Studio

In Visual Studio

Depending on how you installed Visual Studio, you may see this message in the Solution Explorer:

Based on your solution, you might need to install extra components for a full development experience.

If this happens, click on install, and install any packages that are required.

If "Assembly-CSharp (incompatible)" is displaying in the Solution Explorer, right click and Reload Project.

Click Attach to Unity at the top-middle of Visual Studio to start debugging.