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.