Initial commit
This commit is contained in:
commit
5925caec1d
5 changed files with 466 additions and 0 deletions
24
Plugin.cs
Normal file
24
Plugin.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
using BepInEx;
|
||||
using HarmonyLib;
|
||||
|
||||
namespace SkipTutorial
|
||||
{
|
||||
[BepInPlugin(PluginInfo.PLUGIN_GUID, PluginInfo.PLUGIN_NAME, PluginInfo.PLUGIN_VERSION)]
|
||||
public class Plugin : BaseUnityPlugin
|
||||
{
|
||||
private void Awake()
|
||||
{
|
||||
Logger.LogInfo($"Plugin {PluginInfo.PLUGIN_GUID} is loaded! Applying patch...");
|
||||
Harmony harmony = new Harmony(PluginInfo.PLUGIN_GUID);
|
||||
harmony.PatchAll();
|
||||
}
|
||||
}
|
||||
[HarmonyPatch(typeof(OnboardingManager), "Start")]
|
||||
public static class OnboardingManager_Start_Patch
|
||||
{
|
||||
public static void Prefix(OnboardingManager __instance)
|
||||
{
|
||||
__instance.Step = 19;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue