imagicbell / ublockly

reimplementation of google blockly for Unity
http://imagicbell.github.io/unity/2017/10/11/blockly-one.html
Apache License 2.0
140 stars 54 forks source link

How to change language? #8

Closed toamig closed 3 years ago

toamig commented 3 years ago

I've created a new i18n file with my language and added a new list item to BlockResSettings. Although, nothing changes when I run the game.

imagicbell commented 3 years ago

Sorry for the inconvenience. There is one more thing: On the Line 34 in /Assets/UBlockly/Script/Core/Blockly.cs, change the parameter in the call BlockResMgr.Get().LoadI18n(I18n.EN); to the value you set for Index Name in BlockResSettings.

This is not automatic, I know. I'll fix it in the future.