-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlugin.cs
More file actions
29 lines (24 loc) · 815 Bytes
/
Plugin.cs
File metadata and controls
29 lines (24 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using BepInEx;
using UnityEngine;
using HarmonyLib;
namespace SpeedrunUtils
{
[BepInPlugin("brc.loomeh.speedrunutils", PluginInfo.PLUGIN_NAME, PluginInfo.PLUGIN_VERSION)]
public class Plugin : BaseUnityPlugin
{
private GameObject _mod;
private void Awake()
{
_mod = new();
_mod.AddComponent<TextManager>();
_mod.AddComponent<LiveSplitControl>();
_mod.AddComponent<DoAutoMash>();
_mod.AddComponent<ConfigUi>();
//_mod.AddComponent<SRUStopwatch>();
_mod.AddComponent<MainMenuVerManager>();
_mod.AddComponent<Tools>();
GameObject.DontDestroyOnLoad(_mod);
new Harmony("brc.loomeh.speedrunutils").PatchAll();
}
}
}