Add ability to skip a bunch of stuff directly to music selection

This commit is contained in:
Tianyi Cao
2024-02-07 02:16:24 -08:00
parent 8152b9ab0d
commit 279fe5dcb8
5 changed files with 47 additions and 11 deletions

View File

@@ -2,10 +2,12 @@ using System;
using HarmonyLib;
using UnityEngine;
namespace AquaMai {
namespace AquaMai.UX
{
// Hides the 2p (right hand side) UI.
// Note: this is not my original work. I simply interpreted the code and rewrote it as a mod.
public class SinglePlayer {
public class SinglePlayer
{
[HarmonyPrefix]
[HarmonyPatch(typeof(Main.GameMain), "LateInitialize", new Type[] { typeof(MonoBehaviour), typeof(Transform), typeof(Transform) })]
public static bool LateInitialize(MonoBehaviour gameMainObject, ref Transform left, ref Transform right)