cost fix
This commit is contained in:
parent
6b78a8a4c8
commit
735f4f0f01
2 changed files with 5 additions and 2 deletions
|
|
@ -49,7 +49,8 @@ namespace PvZ_Fusion_Translator.Patches.GameObjects
|
|||
text.fontSizeMax = 21;
|
||||
}
|
||||
|
||||
__instance.showedPlantIntroduce.text = Utils.RemoveSizeTags(plantInfo.info) + "\n\n" + Utils.RemoveSizeTags(plantInfo.introduce) + "\n\n";
|
||||
char[] toTrim = Environment.NewLine.ToCharArray();
|
||||
__instance.showedPlantIntroduce.text = Utils.RemoveSizeTags(plantInfo.info) + "\n\n" + Utils.RemoveSizeTags(plantInfo.introduce) + "\n\n" + Utils.RemoveSizeTags(plantInfo.cost).TrimStart(toTrim) + "\n\n";
|
||||
__instance.showedPlantIntroduce.font = fontAsset;
|
||||
__instance.showedPlantIntroduce.margin = new Vector4(6, 2, 12, 0);
|
||||
|
||||
|
|
|
|||
|
|
@ -13,8 +13,10 @@
|
|||
<LangVersion>latest</LangVersion>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Configurations>Debug;DebugEnglish;ReleaseMulti;ReleaseEnglish;DebugTesting;ReleaseOther;DebugObfuscate;ReleaseObfuscate</Configurations>
|
||||
<GamePath>C:\Users\rainb\Desktop\PC_PVZ-Fusion_3.2.1</GamePath>
|
||||
<GamePath>D:\PvZ Fusion\Game Files</GamePath>
|
||||
<Platforms>AnyCPU;ARM64;x64</Platforms>
|
||||
<!--<GamePath>D:\PvZ Fusion\Game Files</GamePath>-->
|
||||
<!--<GamePath>C:\Users\rainb\Desktop\PC_PVZ-Fusion_3.2.1</GamePath>-->
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue