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; break;
} }
this.preferredFontSize = PlayerPrefs.GetInt("fontsize"); int fontSetting = PlayerPrefs.GetInt("fontsize");
switch (this.preferredFontSize) switch (fontSetting)
{ {
case 0: case 0:
this.preferredFontSize = 22;
FontDef.SetFontInfo(new FONTINFO[] FontDef.SetFontInfo(new FONTINFO[]
{ {
new FONTINFO(22, 22, 1f, 0), new FONTINFO(22, 22, 1f, 0),
@ -78,6 +79,7 @@ public class UnityApp : Singleton<UnityApp>
break; break;
case 1: case 1:
default: default:
this.preferredFontSize = 28;
FontDef.SetFontInfo(new FONTINFO[] FontDef.SetFontInfo(new FONTINFO[]
{ {
new FONTINFO(22, 22, 1f, 0), 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