commit 4/20/25 9:22est
This commit is contained in:
parent
f2d6052dc8
commit
b414814b44
3 changed files with 0 additions and 79 deletions
|
|
@ -1,26 +0,0 @@
|
|||
using HarmonyLib;
|
||||
using Il2Cpp;
|
||||
using Il2CppTMPro;
|
||||
using PvZ_Fusion_Translator.AssetStore;
|
||||
using UnityEngine;
|
||||
|
||||
namespace PvZ_Fusion_Translator.Patches.GameObjects.ButtonObjects
|
||||
{
|
||||
// [HarmonyPatch(typeof(AbyssBuffButton))]
|
||||
// public static class AbyssButton_Patch
|
||||
// {
|
||||
// [HarmonyPatch(nameof(AbyssBuffButton.Start))]
|
||||
// [HarmonyPostfix]
|
||||
// private static void Start(AbyssBuffButton __instance)
|
||||
// {
|
||||
// StringStore.TranslateTextTransform(__instance.transform, true);
|
||||
// Transform parentTransform = __instance.transform.parent.transform;
|
||||
//if (__instance.name == "Goback")
|
||||
//{
|
||||
// Transform backgroundTransform = parentTransform.Find("Background");
|
||||
// backgroundTransform.Find("Name").GetComponent<TMP_Text>().autoSizeTextContainer = true;
|
||||
// backgroundTransform.Find("Shadow").GetComponent<TMP_Text>().autoSizeTextContainer = true;
|
||||
//}
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
using HarmonyLib;
|
||||
using Il2Cpp;
|
||||
using Il2CppTMPro;
|
||||
using PvZ_Fusion_Translator.AssetStore;
|
||||
|
||||
namespace PvZ_Fusion_Translator.Patches.Managers
|
||||
{
|
||||
//[HarmonyPatch(typeof(TravelMenuMgr))]
|
||||
//public static class TravelMenuMgr_Patch
|
||||
//{
|
||||
// [HarmonyPatch(nameof(TravelMenuMgr.Start))]
|
||||
// [HarmonyPostfix]
|
||||
// private static void Start(TravelMenuMgr __instance)
|
||||
// {
|
||||
// foreach(TextMeshProUGUI text in __instance.textMesh)
|
||||
// {
|
||||
// text.text = StringStore.TranslateText(text.text);
|
||||
// }
|
||||
// foreach(TextMeshProUGUI text in __instance.textMeshShadow)
|
||||
// {
|
||||
// text.text = StringStore.TranslateText(text.text);
|
||||
// }
|
||||
// }
|
||||
// [HarmonyPatch(nameof(TravelMenuMgr.SetText))]
|
||||
// [HarmonyPostfix]
|
||||
// private static void SetText(TravelMenuMgr __instance)
|
||||
// {
|
||||
// foreach(TextMeshProUGUI text in __instance.textMesh)
|
||||
// {
|
||||
// text.text = StringStore.TranslateText(text.text);
|
||||
// }
|
||||
// foreach(TextMeshProUGUI text in __instance.textMeshShadow)
|
||||
// {
|
||||
// text.text = StringStore.TranslateText(text.text);
|
||||
// }
|
||||
// }
|
||||
// [HarmonyPatch(nameof(TravelMenuMgr.SetRichText), [typeof(int), typeof(int), typeof(TextMeshProUGUI), typeof(string)])]
|
||||
// [HarmonyPostfix]
|
||||
// private static void SetRichText(TravelMenuMgr __instance)
|
||||
// {
|
||||
// foreach(TextMeshProUGUI text in __instance.textMesh)
|
||||
// {
|
||||
// text.text = StringStore.TranslateText(text.text);
|
||||
// }
|
||||
// foreach(TextMeshProUGUI text in __instance.textMeshShadow)
|
||||
// {
|
||||
// text.text = StringStore.TranslateText(text.text);
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
|
@ -449,7 +449,6 @@
|
|||
<Compile Include="ModFeatures.cs" />
|
||||
<Compile Include="AssetStore\AudioStore.cs" />
|
||||
<Compile Include="Patches\GameObjects\ButtonObjects\AbyssBuffButton_Patch.cs" />
|
||||
<Compile Include="Patches\GameObjects\ButtonObjects\AbyssButton_Patch.cs" />
|
||||
<Compile Include="Patches\GameObjects\ButtonObjects\AbyssLevelEnter_Patch.cs" />
|
||||
<Compile Include="Patches\GameObjects\ButtonObjects\BaseMenu_Patch.cs" />
|
||||
<Compile Include="Patches\GameObjects\ButtonObjects\SaveMenuBtn_Patch.cs" />
|
||||
|
|
@ -495,7 +494,6 @@
|
|||
<Compile Include="Patches\BaseTextObjects\TMP_InputField_Patch.cs" />
|
||||
<Compile Include="Patches\Managers\TravelBuffMgr_Patch.cs" />
|
||||
<Compile Include="Patches\GameObjects\TravelBuff_Patch.cs" />
|
||||
<Compile Include="Patches\Managers\TravelMenuMgr_Patch.cs" />
|
||||
<Compile Include="Patches\GameObjects\TravelRefresh_Patch.cs" />
|
||||
<Compile Include="Patches\GameObjects\TravelStore_Patch.cs" />
|
||||
<Compile Include="Patches\GameObjects\UIDifficulty_Patch.cs" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue