PVZFusionTranslation/MelonLoader/Patches/GameObjects/MinorObjects/PlayerName_Patch.cs
SillyStar-Github 22e503bd32 3.6 code
2026-05-01 16:58:57 -04:00

17 lines
No EOL
437 B
C#

/*using HarmonyLib;
using Il2Cpp;
using PvZ_Fusion_Translator.AssetStore;
namespace PvZ_Fusion_Translator.Patches.GameObjects.MinorObjects
{
[HarmonyPatch(typeof(PlayerName))]
public static class PlayerName_Patch
{
[HarmonyPostfix]
[HarmonyPatch(nameof(PlayerName.Update))]
private static void Update(PlayerName __instance)
{
__instance.textMesh.text = StringStore.TranslateText(__instance.textMesh.text);
}
}
}*/