From ce0662f77242047c132ba446c856bd2641896ea7 Mon Sep 17 00:00:00 2001
From: XtraCube <72575280+XtraCube@users.noreply.github.com>
Date: Mon, 23 Sep 2024 06:52:23 -0400
Subject: [PATCH] adjust
---
MiraAPI/Hud/CustomPlayerMenu.cs | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/MiraAPI/Hud/CustomPlayerMenu.cs b/MiraAPI/Hud/CustomPlayerMenu.cs
index 8929086..b2cb47a 100644
--- a/MiraAPI/Hud/CustomPlayerMenu.cs
+++ b/MiraAPI/Hud/CustomPlayerMenu.cs
@@ -10,8 +10,12 @@ using UnityEngine.Events;
namespace MiraAPI.Hud;
+///
+/// Custom Player Menu using the ShapeshifterPanel as a base.
+///
+/// Used by Il2Cpp. Do not use constructor, this is a MonoBehaviour.
[RegisterInIl2Cpp]
-public class CustomPlayerMenu(IntPtr ptr) : Minigame(ptr)
+public class CustomPlayerMenu(IntPtr il2CppPtr) : Minigame(il2CppPtr)
{
public ShapeshifterPanel PanelPrefab;
@@ -27,7 +31,7 @@ public class CustomPlayerMenu(IntPtr ptr) : Minigame(ptr)
public UiElement DefaultButtonSelected;
- private List potentialVictims;
+ public List potentialVictims;
///
/// Creates a CustomPlayerMenu.