Skip to content

WarperSan/Unity.Modding.Templates

Repository files navigation


Logo

Unity.Modding.Templates

NuGet Badge NuGet Version License: MIT

Overview

Unity.Modding.Templates is a collection of .NET templates that speeds up the creation of Unity mods.

Installation

Using the .NET CLI

You can install the templates directly from NuGet by running the following command:

dotnet new install WarperSan.BepInEx.Template

Manual Installation

Alternatively, you can manually download the latest release of this project from:

You will then be able to install the templates by running this command in the directory containing the downloaded package:

dotnet new install ./WarperSan.BepInEx.Template.*.nupkg

Usage

Using an IDE

In your IDE (Visual Studio, Rider, or VS Code), create a new solution and select Unity Plugin Template.

From there, adjust the options to fit your project's needs.

Using the .NET CLI

Once the template is installed, you can create a new project with:

dotnet new WarperSan.BepInEx.Template -n MyMod

Replace MyModwith whatever you'd like to name your project.

To see all available options and parameters, run:

dotnet new WarperSan.BepInEx.Template --help

Contributing

Contributions, issues, and feedback are welcome!

If your community wants their own version with certain elements predefined, feel free to fork this template and adapt it to your needs.

License

This project is licensed under the MIT License

About

Collection of .NET templates that speeds up the creation of Unity mods

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages