All script titles in English and font size fix
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user