BepInEx / BepInEx.AutoPlugin

Source generator for quickly creating a BepInEx plugin scaffolding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BepInEx.AutoPlugin

CI NuGet

Source generator that turns

[BepInAutoPlugin("com.example.ExamplePlugin")]
public partial class ExamplePlugin : BaseUnityPlugin
{
}

into

[BepInEx.BepInPlugin(ExamplePlugin.Id, "ExamplePlugin", "0.1.0")]
public class ExamplePlugin : BaseUnityPlugin
{
    public const string Id = "com.example.ExamplePlugin";
    public static string Name => "ExamplePlugin";
    public static string Version => "0.1.0";
}

About

Source generator for quickly creating a BepInEx plugin scaffolding.

License:GNU Lesser General Public License v3.0


Languages

Language:C# 100.0%