[+] Add cheat config

This commit is contained in:
Azalea
2024-02-07 05:16:07 -05:00
parent de12ec6548
commit ccb3f7ef34
5 changed files with 37 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)