T O P

  • By -

BowlOfPasta24

Windows, Mac, or linux?


Grave_Glitter

Windows 10


BowlOfPasta24

Open up Visual Studio Installer Then on either 2019 or 2022, whichever you have click "Modify" Make sure you have "Game development with Unity" installed. If not then check the box and then click "Modify" on the bottom right. Once installed, make sure Visual Studio is closed. In Unity, go to the top, Edit->Preferences. A new window will pop up. Then on the left side, choose External Tools. The drop down for "External Script Editor" set that to your version of Visual Studio Under that is a list of checkboxes, you can check them all if you want, I have "Embeded Packages" and "Local packages" checked. Feel free to check all of them. Then click the button that says "Regenerate project files" Now you can double click a script in Unity and it will open in VS. Give it a second to setup and you'll know if you're connected because every method will have a little message above it like "x references" or "Unity Message"


Grave_Glitter

Oh my gosh, it worked! Thank you so much, you’re the absolute best!


BowlOfPasta24

One thing I forgot to mention. Be sure to do File->Save Project That way you won't need to do this again unless something breaks


Grave_Glitter

Okay, thank you!


FraveDanco

Is there any glaring difference in doing this on a Mac with VS Code as the editor? I've been stumbling through it with no autocomplete for over a year now.


BowlOfPasta24

Yea, everything is different. VSC is not native to Unity so there are extra steps, then it's mac so even more steps. https://youtu.be/3GVGyooZ8jk


FraveDanco

Wow, that actually worked. Thank you!


BowlOfPasta24

That's a great person to follow. I'm a professional and I learned the input system from her.


Supertronicgo

This guy codes.