#if false using HarmonyLib; using PvZ_Fusion_Translator.AssetStore; namespace PvZ_Fusion_Translator.Patches.GameObjects.ButtonObjects; [HarmonyPatch(typeof(SaveMenuBtn))] public static class SaveMenuBtn_Patch { [HarmonyPatch(nameof(SaveMenuBtn.OnMouseUpAsButton)), HarmonyPostfix] private static void OnMouseUpAsButton(SaveMenuBtn __instance) { var fontAsset = FontStore.LoadTMPFont(Utils.Language.ToString()); __instance.theName.text = StringStore.TranslateText(__instance.theName.text); __instance.theName.font = fontAsset; } } #endif