Skip to content

sangwookyoo/vscode-unity-sw-pack

Repository files navigation


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

  1. Install the VS Code C# Extension.
  2. 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

    CodeSnippets

  • Scene and Prefab references

    UsageScenePrefab

  • Unity event bindings

    UnityEventBinding

  • Unity message indicator

    UnityEventMessage

  • Unity message hover descriptions

    Hover

  • Coroutine toggle (void ↔ IEnumerator)

    TypeToggle

  • .meta file sync

    metaFile

About

Unity Extension for Visual Studio Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors