From 905cc9e33592f5de4552427405d649643585810b Mon Sep 17 00:00:00 2001 From: XtraCube <72575280+XtraCube@users.noreply.github.com> Date: Mon, 30 Jun 2025 20:20:26 -0400 Subject: [PATCH] fix marshalling warning --- MiraAPI.Example/Roles/NeutralKillerRole.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MiraAPI.Example/Roles/NeutralKillerRole.cs b/MiraAPI.Example/Roles/NeutralKillerRole.cs index 55fdc51e..1afa4ebd 100644 --- a/MiraAPI.Example/Roles/NeutralKillerRole.cs +++ b/MiraAPI.Example/Roles/NeutralKillerRole.cs @@ -1,4 +1,5 @@ -using MiraAPI.Example.GameOver; +using Il2CppInterop.Runtime.Attributes; +using MiraAPI.Example.GameOver; using MiraAPI.GameEnd; using MiraAPI.Roles; using UnityEngine; @@ -22,6 +23,7 @@ public class NeutralKillerRole : ImpostorRole, ICustomRole public RoleOptionsGroup RoleOptionsGroup { get; } = new("Outcast", Color.gray); + [HideFromIl2Cpp] public TeamIntroConfiguration? IntroConfiguration { get; } = new( Color.gray, "OUTCAST",