All script titles in English and font size fix

This commit is contained in:
2024-08-27 21:49:54 -04:00
parent 8db8c935f2
commit 054366dfd7
425 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -64,10 +64,11 @@ public class UnityApp : Singleton<UnityApp>
break;
}
this.preferredFontSize = PlayerPrefs.GetInt("fontsize");
switch (this.preferredFontSize)
int fontSetting = PlayerPrefs.GetInt("fontsize");
switch (fontSetting)
{
case 0:
this.preferredFontSize = 22;
FontDef.SetFontInfo(new FONTINFO[]
{
new FONTINFO(22, 22, 1f, 0),
@@ -78,6 +79,7 @@ public class UnityApp : Singleton<UnityApp>
break;
case 1:
default:
this.preferredFontSize = 28;
FontDef.SetFontInfo(new FONTINFO[]
{
new FONTINFO(22, 22, 1f, 0),