/vscode-unity-sw-pack

Unity Extension for Visual Studio Code

Primary LanguageTypeScriptOtherNOASSERTION


Overview

  • This extension provides a Unity development environment for VS Code.

All features can be turned on or off in the settings!

  • Provides code snippets for Unity
  • Shows Scene and Prefab referenced by Script
  • Indicates Unity event bindings
  • Indicates Unity event function
  • Displays explanations of Unity messages on Hover
  • Provide function signature change between void-IEnumerator
  • Checks for changes in .meta files and syncs them if there are any
  • Provides documentation navigation for Unity messages. (Shortcut: Shift+1)
  • Provides theme 'Unity SW Pack Dark'

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", make sure to install the latest stable Mono release.

Install Build Tools for Visual Studio (Windows only)

  • The C# extension no longer ships with Microsoft Build Tools so they must be installed manually.
  • Download the Build Tools for Visual Studio 2022.
  • Install the .NET desktop build tools workload. No other components are required.

Features

  • Provides code snippets for Unity.

    CodeSnippets

  • Shows Scene and Prefab referenced by Script.

    UsageScenePrefab

  • Indicates Unity event bindings.

    UnityEventBinding

  • Indicates Unity event function.

    UnityEventMessage

  • Displays explanations of Unity messages on Hover.

    Hover

  • Provide function signature change between void-IEnumerator.

    TypeToggle

  • Checks for changes in .meta files and syncs them if there are any.

    metaFile