I am making a game where I have used 5 different fonts and I have also my native language support. I also want to use 5 different font from my native language in different language mode. and I am using ANSI font type.
This code has to be called at the right time, i.e. when the language is changed. This would best be done as part of a custom event. Unfortunately, there is not currently an event for when the language option has been changed - but I will add this in the next release.
Comments
foreach (AC.Menu menu in AC.PlayerMenus.GetMenus ())
{
foreach (AC.MenuElement element in menu.elements)
{
element.font = myNewFont;
}
}
This code has to be called at the right time, i.e. when the language is changed. This would best be done as part of a custom event. Unfortunately, there is not currently an event for when the language option has been changed - but I will add this in the next release.