All script titles in English and font size fix

Main
Arneth 2 years ago
parent 8db8c935f2
commit 054366dfd7

@ -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),

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save