Overview
This extension provides a Unity development environment for VS Code.
All features can be enabled or disabled in the settings.
Features
- Unity code snippets (C#)
- Scene / Prefab usage references
Shows where a script is used inside Scene or Prefab assets.
- Unity event bindings indicator
Displays CodeLens above UnityEvent fields.
- Unity message indicator
Adds CodeLens above Unity lifecycle methods (e.g., Start , Update ).
- Unity message hover descriptions
Shows documentation/explanation of Unity lifecycle methods when hovering.
- Coroutine toggle (void ↔ IEnumerator)
Quickly change method return type between void and IEnumerator .
- .meta file sync
Detects creation/deletion of assets and keeps .meta files in sync.
- Unity documentation search
Search Unity API docs directly (shortcut: Shift+1 ).
→ Works with selection or the word under the cursor.
- Theme
Includes Unity SW Pack Dark theme.
Prerequisites
- Install the VS Code C# Extension.
- Install the .NET SDK, which includes the Runtime and the
dotnet command.
- Windows only: Logout or restart Windows to allow changes to
%PATH% to take effect.
- macOS only: To avoid seeing "Some projects have trouble loading. Please review the output for more details", install the latest stable Mono release.
Features in Action
Unity code snippets

Scene and Prefab references

Unity event bindings

Unity message indicator

Unity message hover descriptions

Coroutine toggle (void ↔ IEnumerator)

.meta file sync

| |