/UnityModStudio

Allows creating mods for Unity games using Visual Studio.

Primary LanguageC#MIT LicenseMIT

build status Visual Studio Marketplace Installs NuGet Downloads

Unity Mod Studio

Allows creating mods for Unity games using Visual Studio 2022.

Implemented features

  • Creating a new project.
  • Selecting a game to be modded using a project wizard.
  • Determining proper target framework.
  • Referencing game assemblies.
  • Deploying the mod into the game.
  • Resolving the game path from built-in game registry.
  • Importing games from the list of installed programs or Steam.
  • Debugging the mod.

Planned features

  • Deploying mod content files along compiled binaries.
  • Support for mods supporting multiple game versions.
  • Game-specific templates and features (in separate extensions).
    • RimWorld project template.

Visual Studio support

Release 1.1 is the last release which supports Visual Studio 2019. New development will be focused on Visual Studio 2022.

Visual Studio 17.4 or newer is required.

Required workloads:

  • .NET desktop development
  • Game development with Unity

Additionally you may need to install targeting packs for .NET versions your games use.

Contents

  • A Visual Studio 2022 extension containing the project template and its wizard, options page for managing the game registry, and the debugger.
  • The UnityModStudio.Build NuGet package which resolves game assembly references and helps building and debugging the mod.