playMaker

Author Topic: Set the font of a textmeshpro text not working [SOLVED]  (Read 925 times)

miguelfanclub

  • Full Member
  • ***
  • Posts: 155
    • View Profile
Set the font of a textmeshpro text not working [SOLVED]
« on: May 22, 2018, 03:18:28 PM »
I autosolved this before finishing the post. Still I post it in case someone ran into same problem.

So using the "EnableTextmeshProFontAsset" to set a font will not work unless the font is set to none first.

« Last Edit: May 22, 2018, 03:37:50 PM by miguelfanclub »

miguelfanclub

  • Full Member
  • ***
  • Posts: 155
    • View Profile
Re: Set the font of a textmeshpro text not working
« Reply #1 on: May 22, 2018, 03:25:06 PM »
I guess it was too fast. Didnt see it just change the font to LiberationSans, but not to the one I had set.

Any help?

(removing the SOLVED)

miguelfanclub

  • Full Member
  • ***
  • Posts: 155
    • View Profile
Re: Set the font of a textmeshpro text not working
« Reply #2 on: May 22, 2018, 03:37:24 PM »
So make sure you select the "EnableTextmeshProUGUIFontAsset"

Then it works.

Solved!

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 769
    • View Profile
Re: Set the font of a textmeshpro text not working [SOLVED]
« Reply #3 on: May 22, 2018, 11:31:48 PM »
Hi TMP action author here. Glad that you got it working and shared your solution. Thank you!