Keep MiraHudHelper public

This commit is contained in:
Atony committed 2026-09-23 16:32:51 -05:00
1 parent c7901baa34
commit e4a24d4164
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ namespace MiraAPI.Hud;
[SuppressMessage("Style", "IDE0051:Remove unused private members", Justification = "Unity Convention.")] [SuppressMessage("Style", "IDE0051:Remove unused private members", Justification = "Unity Convention.")]
[SuppressMessage("Critical Code Smell", "S2223:Non-constant static fields should not be visible", Justification = "Is internal code. Property-level protections are not required.")] [SuppressMessage("Critical Code Smell", "S2223:Non-constant static fields should not be visible", Justification = "Is internal code. Property-level protections are not required.")]
[SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1401:Fields should be private", Justification = "Read above.")] [SuppressMessage("StyleCop.CSharp.MaintainabilityRules", "SA1401:Fields should be private", Justification = "Read above.")]
internal sealed class MiraHudHelper(nint cppPtr) : MonoBehaviour(cppPtr) public sealed class MiraHudHelper(nint cppPtr) : MonoBehaviour(cppPtr)
{ {
public static MiraHudHelper Instance { get; private set; } public static MiraHudHelper Instance { get; private set; }