diff --git a/MiraAPI/Patches/HudManagerPatches.cs b/MiraAPI/Patches/HudManagerPatches.cs index e8c13ac..7665deb 100644 --- a/MiraAPI/Patches/HudManagerPatches.cs +++ b/MiraAPI/Patches/HudManagerPatches.cs @@ -73,6 +73,22 @@ public static class HudManagerPatches gridArrange.Alignment = GridArrange.StartAlign.Right; aspectPosition.Alignment = AspectPosition.EdgeAlignments.LeftBottom; + if (Constants.GetPlatformType() is Platforms.Android or Platforms.IPhone) + { + var fakeButton = Object.Instantiate(__instance.AbilityButton, BottomLeft.transform); + foreach (var renderer in fakeButton.GetComponentsInChildren()) + { + renderer.enabled = false; + } + + fakeButton.buttonLabelText.Destroy(); + fakeButton.cooldownTimerText.Destroy(); + fakeButton.usesRemainingText.Destroy(); + fakeButton.GetComponent().Destroy(); + fakeButton.ToggleVisible(true); + fakeButton.Destroy(); + } + foreach (var button in CustomButtonManager.CustomButtons) { var location = button.Location switch diff --git a/MiraAPI/Resources/mirabundle-android.bundle b/MiraAPI/Resources/mirabundle-android.bundle new file mode 100644 index 0000000..0e09603 Binary files /dev/null and b/MiraAPI/Resources/mirabundle-android.bundle differ