Unity Developing Environment with VSCode
- Install Unity (2022 LTS) and VSCode.
- Setup
.Net
Environment - Change Unity Settings
- Create a unity project
- Set VSCode as default editor. Settings->External
Tools->External Script Editor. Set it to
Visual Studio Code
.
- Asset->Open C# Project. To open project in VSCode.
- VSCode Pulgins:
- C#: setup C# environment
- Unity Code Snippets: auto code completion
- Unity Snippets
- Unity Tools
- C# XML Documentation Comments: generate comments and documents
- VSCode Setting
- Turn off
omnisharp.usemodernnet
- Set
omnisharp.monopath
- (optional) Turn off
telemetry
(it sends analytics to Microsoft)
- Turn off
- Restart VSCode.