From a4665553b88255ae019ebf4a6007d403ef0013e7 Mon Sep 17 00:00:00 2001 From: ManlyMarco <39247311+ManlyMarco@users.noreply.github.com> Date: Fri, 9 Feb 2024 14:57:54 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 10422db..d39b954 100644 --- a/README.md +++ b/README.md @@ -15,11 +15,11 @@ public partial class ExamplePlugin : BaseUnityPlugin into ```cs -[BepInEx.BepInPlugin(ExamplePlugin.Id, "ExamplePlugin", "0.1.0")] +[BepInEx.BepInPlugin(ExamplePlugin.Id, ExamplePlugin.Name, ExamplePlugin.Version)] public class ExamplePlugin : BaseUnityPlugin { public const string Id = "com.example.ExamplePlugin"; - public static string Name => "ExamplePlugin"; - public static string Version => "0.1.0"; + public const string Name = "ExamplePlugin"; + public const string Version = "0.1.0"; } ```