renaming this file while making changes
This commit is contained in:
parent
850d66ad2a
commit
f9fe7c26ff
2 changed files with 10 additions and 10 deletions
|
|
@ -2,11 +2,12 @@
|
|||
using Il2Cpp;
|
||||
using Il2CppTMPro;
|
||||
using PvZ_Fusion_Translator.AssetStore;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace PvZ_Fusion_Translator.Patches.Managers
|
||||
{
|
||||
[HarmonyPatch(typeof(InGameUI))]
|
||||
public static class InGameUIMgr_Patch
|
||||
public static class InGameUI_Patch
|
||||
{
|
||||
[HarmonyPatch(nameof(InGameUI.Start))]
|
||||
[HarmonyPostfix]
|
||||
|
|
@ -14,13 +15,12 @@ namespace PvZ_Fusion_Translator.Patches.Managers
|
|||
{
|
||||
TextMeshProUGUI[] array = new TextMeshProUGUI[]
|
||||
{
|
||||
__instance.transform.GetChild(4).GetComponent<TextMeshProUGUI>(),
|
||||
__instance.transform.GetChild(4).GetChild(0).GetComponent<TextMeshProUGUI>(),
|
||||
__instance.transform.GetChild(5).GetComponent<TextMeshProUGUI>(),
|
||||
__instance.transform.GetChild(5).GetChild(0).GetComponent<TextMeshProUGUI>(),
|
||||
__instance.transform.GetChild(6).GetComponent<TextMeshProUGUI>(),
|
||||
__instance.transform.GetChild(6).GetChild(0).GetComponent<TextMeshProUGUI>()
|
||||
};
|
||||
__instance.transform.GetChild(4).GetComponent<TextMeshProUGUI>(),
|
||||
__instance.transform.GetChild(4).GetChild(0).GetComponent<TextMeshProUGUI>(),
|
||||
__instance.transform.GetChild(5).GetComponent<TextMeshProUGUI>(),
|
||||
__instance.transform.GetChild(5).GetChild(0).GetComponent<TextMeshProUGUI>(),
|
||||
__instance.transform.GetChild(6).GetComponent<TextMeshProUGUI>(),
|
||||
__instance.transform.GetChild(6).GetChild(0).GetComponent<TextMeshProUGUI>()};
|
||||
TextMeshProUGUI[] array2 = array;
|
||||
for (int i = 0; i < array2.Length; i++)
|
||||
{
|
||||
|
|
@ -28,5 +28,5 @@ namespace PvZ_Fusion_Translator.Patches.Managers
|
|||
array2[i].text = array2[i].text.Replace("\n", " ");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -453,7 +453,7 @@
|
|||
<Compile Include="Patches\GameObjects\NoticePauseMenu_Patch.cs" />
|
||||
<Compile Include="Patches\GameObjects\ButtonObjects\InGameBtn_Patch.cs" />
|
||||
<Compile Include="Patches\BaseTextObjects\InGameText_Patch.cs" />
|
||||
<Compile Include="Patches\Managers\InGameUIMgr_Patch.cs" />
|
||||
<Compile Include="Patches\Managers\InGameUI_Patch.cs" />
|
||||
<Compile Include="Patches\Managers\IZEMgr_Patch.cs" />
|
||||
<Compile Include="Patches\OtherManagers\MenuText_Patch.cs" />
|
||||
<Compile Include="Patches\Managers\OppositeBuffManager_Patch.cs" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue