From 7e8d07672c4d80ba52ae6d18f070a151cb02c0d1 Mon Sep 17 00:00:00 2001 From: XtraCube <72575280+XtraCube@users.noreply.github.com> Date: Thu, 25 Sep 2025 12:27:26 -0400 Subject: [PATCH 1/2] fix mira asset --- MiraAPI/Utilities/Assets/MiraAssets.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiraAPI/Utilities/Assets/MiraAssets.cs b/MiraAPI/Utilities/Assets/MiraAssets.cs index 4368508..bccb204 100644 --- a/MiraAPI/Utilities/Assets/MiraAssets.cs +++ b/MiraAPI/Utilities/Assets/MiraAssets.cs @@ -12,7 +12,7 @@ public static class MiraAssets { var boxTex = SpriteTools.LoadTextureFromResourcePath( "MiraAPI.Resources.RoundedBox.png", - System.Reflection.Assembly.GetCallingAssembly()); + System.Reflection.Assembly.GetExecutingAssembly()); var boxSprite = Sprite.Create( boxTex, new Rect(0, 0, boxTex.width, boxTex.height), From e78c456636670b3029ee831125b3af44ad8b50a1 Mon Sep 17 00:00:00 2001 From: XtraCube <72575280+XtraCube@users.noreply.github.com> Date: Thu, 25 Sep 2025 13:47:54 -0400 Subject: [PATCH 2/2] match android --- 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 55fdc51..1afa4eb 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",