This commit is contained in:
ang-xd committed 2024-06-20 17:24:46 -04:00
1 parent a0b3b78830
commit 2edd5e8a7a
12 files changed
+110 -114

No files matched your search

+3 -2
View File
@@ -15,8 +15,8 @@ namespace MiraAPI.Example;
public partial class ExamplePlugin : BasePlugin, IMiraConfig
{
public Harmony Harmony { get; } = new(Id);
public ModdedOptionTabSettings TabSettings => new()
public static ExamplePlugin Instance { get; private set; }
public ModdedOptionTabSettings TabSettings => new ModdedOptionTabSettings()
{
Title = "MiraAPI Example Mod",
TabIcon = MiraAssets.Empty
@@ -24,6 +24,7 @@ public partial class ExamplePlugin : BasePlugin, IMiraConfig
public override void Load()
{
Instance = this;
Harmony.PatchAll();
}
}