30 lines
1,007 B
C#
30 lines
1,007 B
C#
//using HarmonyLib;
|
|
//using Il2Cpp;
|
|
//using Il2CppTMPro;
|
|
//using MelonLoader;
|
|
//using PvZ_Fusion_Translator.AssetStore;
|
|
//using UnityEngine;
|
|
//using UnityEngine.TextCore.Text;
|
|
//using UnityEngine.UI;
|
|
//using static MelonLoader.MelonLogger;
|
|
|
|
//namespace PvZ_Fusion_Translator.Patches.GameObjects
|
|
//{
|
|
|
|
// [HarmonyPatch(typeof(AbyssBagMenu))]
|
|
// public static class AbyssBagMenu_Patch
|
|
// {
|
|
// [HarmonyPatch(nameof(AbyssBagMenu.Awake))]
|
|
// [HarmonyPostfix]
|
|
// private static void Awake_Post(AbyssCheckInBag __instance)
|
|
// {
|
|
// foreach(TextMeshProUGUI text in __instance.transform.FindChild("Background").GetComponentsInChildren<TextMeshProUGUI>())
|
|
// {
|
|
// text.text = text.text + "_深渊";
|
|
// text.text = StringStore.TranslateText("背包_深渊");
|
|
// text.font = FontStore.LoadTMPFont(Utils.Language.ToString());
|
|
// }
|
|
// AbyssMenu2.Instance.UpdateIcons();
|
|
// }
|
|
// }
|
|
//}
|