Hello Guest

Author Topic: Is it possible to overwrite a 2DTK Font in unity?  (Read 3025 times)

MagicFred

  • Newbie
  • *
  • Posts: 5
    • View Profile
Is it possible to overwrite a 2DTK Font in unity?
« on: May 13, 2014, 07:24:43 pm »
Hi everybody,

I had a font without accent that I used in my game.
As the game will have multiple languages, I need to change my font to add the more possible characters.
Ideally, to have the same texture sharing Latin, Chinese and Japanese.

I tried to keep the same prefab and change Asset Text and Texture to ensure that all my game text fields are changed simultaneously.
Unfortunately, the change did not work right. The font is completely broken.

Creating a new font and using the same Asset Text and Texture files, it works.
But you have to change all text fields of the game by myself!

Any ideas, solutions?

Thank you.

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Is it possible to overwrite a 2DTK Font in unity?
« Reply #1 on: May 14, 2014, 01:14:37 pm »
What is Asset Text?
If you rebuild the collection while keepign the same data object, it should just work - you won't have to reconnect anything.