[SOLVED] Is it required that you import fonts for text elements?

When creating a text element, I don’t see any option for a “default” font. Do I really have to go somewhere and download a font so I can import it?
Follow-up question-- How would I go about displaying the value of a certain variable in a text element?

Yes. Google Fonts is good place get some. There’s a long standing feature request to have a default font that can be imported with single click from the Editor than having someone hunt Google Fonts for a font.

Set the text at runtime for the element via https://developer.playcanvas.com/api/pc.ElementComponent.html#text

1 Like

Thanks, this helps plenty!