Skip to content

Commit

Permalink
adjust
Browse files Browse the repository at this point in the history
  • Loading branch information
XtraCube committed Sep 23, 2024
1 parent c928eae commit ce0662f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions MiraAPI/Hud/CustomPlayerMenu.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,12 @@

namespace MiraAPI.Hud;

/// <summary>
/// Custom Player Menu using the ShapeshifterPanel as a base.
/// </summary>
/// <param name="il2CppPtr">Used by Il2Cpp. Do not use constructor, this is a MonoBehaviour.</param>
[RegisterInIl2Cpp]
public class CustomPlayerMenu(IntPtr ptr) : Minigame(ptr)
public class CustomPlayerMenu(IntPtr il2CppPtr) : Minigame(il2CppPtr)
{
public ShapeshifterPanel PanelPrefab;

Expand All @@ -27,7 +31,7 @@ public class CustomPlayerMenu(IntPtr ptr) : Minigame(ptr)

public UiElement DefaultButtonSelected;

private List<ShapeshifterPanel> potentialVictims;
public List<ShapeshifterPanel> potentialVictims;

/// <summary>
/// Creates a CustomPlayerMenu.
Expand Down

0 comments on commit ce0662f

Please sign in to comment.