Dear Chris and AC followers.
I'm almost ready with ENCODYA (releasing end of January!) and I'm now polishing few things here and there.
99% of it it's done!
I'm also handling localization now and so far I've used fonts that are fine with most of the languages. But the wishlists of ENCODYA are going so well, that I'll have to handle also Cyrillic and most probably Asian ones too (Chinese, Korean, Japanese).
The problem is that my font don't support those, so I need to change it, but I don't want to change them for the whole game, since I'd like to keep the ones I've for the "standard" languages (Italian, English, German, etc.).
So, considering I've used mainly three fonts (one for the subtitles, one for the UI and one for some terminals/computers that the player can use in-game), is it possible to change fonts when the player changes language? Do I have to do that for each Menu "label" I used in my game (it'll be endless) or I can simply tell "replace THIS font with THAT font" via script and it'll automatically find all the UI "text" component using a specific font and changing it?
Is this somehow doable with AC or purely Unity script?
Looking for some ideas! Thanks a lot!
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
I'm interested in this too.
You can hook into the OnChangeLanguage custom event to update your fonts automatically - for example, in a Unity UI-based menu:
https://adventure-creator.fandom.com/wiki/Per-language_Menus
Thanks a lot! I guess I've to change to Unity UI my subtitles then... They are the only ones still using Adventure Creator menu... Or is there a way to change those as well?
There is - see the Manual's "Menu scripting" chapter for details on how Menu and Element properties can be accessed through script.
Here's a variant of the wiki script that works for an AC menu named "Subtitles":
Awesome! Thanks!