using System.Diagnostics.CodeAnalysis;
using HarmonyLib;
namespace TaikoMods;
[HarmonyPatch]
[SuppressMessage("ReSharper", "InconsistentNaming")]
public class SkipSplashScreen
{
///
/// Simply load the next scene, I don't think this scene does anything specific?
///
[HarmonyPatch(typeof(BootManager), "Start")]
[HarmonyPostfix]
private static void BootManager_Postfix(BootManager __instance)
{
TaikoSingletonMonoBehaviour.Instance.MySceneManager.ChangeScene("Title", false);
__instance.gameObject.SetActive(false);
}
}