Changing Font
10 years 6 months ago - 10 years 6 months ago #123
by SuperBuff
Changing Font was created by SuperBuff
Hello,
I've added the Localize component to the UILabel, i'm using NGUI, but the secondary tab does not refresh the tab. I cannot change the text AND the font, It seems it's one or the other.
Please advise.
I've added the Localize component to the UILabel, i'm using NGUI, but the secondary tab does not refresh the tab. I cannot change the text AND the font, It seems it's one or the other.
Please advise.
Last edit: 10 years 6 months ago by SuperBuff.
Please Log in or Create an account to join the conversation.
10 years 6 months ago #130
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Changing Font
Hi,
I have been trying to reproduce that issue, but I haven't been able. I'm assigning fonts and texts without having them override each other.
Are you using the latest version?
Can you list the steps you do to make that bug happen on any of the example scenes?
Thanks a lot,
Frank
I have been trying to reproduce that issue, but I haven't been able. I'm assigning fonts and texts without having them override each other.
Are you using the latest version?
Can you list the steps you do to make that bug happen on any of the example scenes?
Thanks a lot,
Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
To get the betas as soon as they are ready,
check this out
Please Log in or Create an account to join the conversation.
10 years 5 months ago #156
by SuperBuff
Replied by SuperBuff on topic Changing Font
Hello Frank,
I add the localization component.
The main tab is selected.
I select the term
I then click the secondary tab.
Set it to font
And drag the fonts into the slots.
Then i go back to the main tab and i see that instead of text it says font.
I add the localization component.
The main tab is selected.
I select the term
I then click the secondary tab.
Set it to font
And drag the fonts into the slots.
Then i go back to the main tab and i see that instead of text it says font.
Please Log in or Create an account to join the conversation.
10 years 5 months ago - 10 years 5 months ago #157
by SuperBuff
Replied by SuperBuff on topic Changing Font
Do i need to add the font name to the sheet or something?
Right... so it seems that was it. I've added terms for every font I use, the english is the name of the font and the Chinese has the Chinese font name.
Strangely enough when running in the editor, Chinese is shown as default. Did i miss something?
Right... so it seems that was it. I've added terms for every font I use, the english is the name of the font and the Chinese has the Chinese font name.
Strangely enough when running in the editor, Chinese is shown as default. Did i miss something?
Last edit: 10 years 5 months ago by SuperBuff. Reason: more details
Please Log in or Create an account to join the conversation.
10 years 5 months ago #160
by Frank
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
Replied by Frank on topic Changing Font
The startup Language is selected as follow:
- The first time your game runs it tries to use the language your device/system is using (Application.systemLanguage)
- If can't find it, it then picks the first language in the language's tab on the Source
- That selection is saved to the PlayerPrefs, and from that point on, everytime you run, the game remembers that selection and starts with that language enabled.
So, if you changed the language to Chinese in the game, it will start with Chinese everytime you run the game.
- The first time your game runs it tries to use the language your device/system is using (Application.systemLanguage)
- If can't find it, it then picks the first language in the language's tab on the Source
- That selection is saved to the PlayerPrefs, and from that point on, everytime you run, the game remembers that selection and starts with that language enabled.
So, if you changed the language to Chinese in the game, it will start with Chinese everytime you run the game.
Are you Give I2L 5 stars!
Are you Please lets us know how to improve it!
To get the betas as soon as they are ready,
check this out
Please Log in or Create an account to join the conversation.
Time to create page: 0.141 seconds