How to set up Visual Studio Code for Unity

preview_player
Показать описание
Visual Studio Code is a source-code editor made by Microsoft for Windows, Linux and macOS. Features include support for debugging, syntax highlighting, intelligent code completion, snippets, code refactoring, and embedded Git. Users can change the theme, keyboard shortcuts, preferences, and install extensions that add additional functionality.

Visual Studio Code can be a great companion to Unity for editing and debugging C# files. All of the C# features are supported and more. Unity has built-in support for opening scripts in Visual Studio Code as an external script editor. Unity will detect when Visual Studio Code is selected as an external script editor and pass the correct arguments to it when opening scripts from Unity. Unity will also set up a default settings file, if it does not already exist.

00:00 - Intro
00:25 - Visual Studio Family
01:00 - Download VS Code
01:10 - .NET SDK
01:47 - C# Extension
02:42 - Package Manager
05:18 - External Script Editor
06:41 - Validation
09:51 - Solution File
11:26 - Outro

········································­­·······································­·­····

#unity #unitytutorial #gamedev #unity3d #unity2d #gamedevelopment #indiegame #indiedev #madewithunity
Рекомендации по теме
Комментарии
Автор

I just love how much faster vs code loads, the themes, and how it has the file explorer open in it

treydiaz
Автор

Today I learned VS and VS code are two different things... super helpful video, thanks!

jordanbentley
Автор

you are a godsend
3rd time attempting unity and the first time i manadged to sync up coding, thank you

jademonass
Автор

A quick reset of Omnisharp did the trick for me. Ctrl+Shift+P in VSC and select 'Omnisharp: Restart Omnisharp'.

KappKee
Автор

very quality setup video, covering alternatives and navigating to windows in simple but reliable ways while explaining whats going on compared to a point and click adventure through gui windows that some tutorials are

seannosoup
Автор

I can't recommend this guy enough. I made more progress in 2 days than in a week.

Alex-whzw
Автор

Wow, this video saved me. What you didn't in the video didn't exactly help me but when you mentioned that omnisharp should have good logs, I checked it out and found out that my dotnet version was outdated and I needed to update it. Once I updated dotnet, I restarted vscode and regenerated the project and everything worked again!

georgemiranda
Автор

Thank you SO MUCH! I watched a game tutorial video and they skipped how to connect Unity with the coding program and stuff. Stuck there for a while until I found your video 😅

ledamdevol
Автор

Nobody ever told me visual studio and visual studio code were different! Thanks. After 2 days of research, I found such a good vid and I'm finally able to do something. Definitely gonna leave a like. 😄

candleo.
Автор

Nice timing. I was about to lookup a tutorial regarding this.

Questionable_Insights
Автор

Thank you so much!!! My intellisense has not been working for weeks and I could not figure out why until wathcing this video.

jacobwigent
Автор

Thank you!! I was having problems with classes not showing up properly. Now it is working as I need. Cheers

FaceCol
Автор

Had to install .NET Framework 4.7.1 Developer Pack, only then it worked for me. Very helpful thanks.

omipat
Автор

This was exactly what I was looking for! Super helpful, thank you!

Geeks-Odyssey
Автор

Thank you for the video due to this I am able to solve the intellisense problem with C# in VS code. I am searching for the solution for hours and I finally found it.

meetpatel
Автор

Omg thanks for this tutorial I was trying to find tutorials like this for years and finally i found one

IzuliSftAlt
Автор

Exactly what I needed to know. I was following a Unity Tutorial by Brackey. He had the IntelliSense working and I didn't and was wondering why. This gave me my answer, thanks.

drsev
Автор

You are an incredible human. This video was so clear and concise. Visual Studio Code is finally working how it was meant to and I'm so excited. Thank you :)

rdRanger
Автор

I remember the days of Unity 5 when another editor was used. It was so long ago I forgot the name of the editor lol

HikikomoriDev
Автор

Thank you so much I've been trying to figure this out for a VERY long time

amarpatel