TrackMan / Unity.Package.FigmaToUnity

Unity plugin for importing entire Figma pages into Unity UI Toolkit files.
Other
125 stars 15 forks source link

Add font section #3

Closed VectorGCC closed 3 months ago

VectorGCC commented 9 months ago

If there is excellent code for working with fonts in the codebase, however, there is no documentation on it. It's particularly unclear that fonts need to be loaded separately and placed in the 'Fonts' folder relative to the Test script.

ivan-trackman commented 8 months ago

Good point, documentation is really lacking a bit of love, but we will do our best to add this next week! @anton-trackman

anton-trackman commented 4 months ago

Dear @karim-dev-coder, my sincere apologies for not resolving the issue for such a long time. I have added information to the Readme; please check the 'Folders Layout' section. Essentially, all you need to do is place your custom font in the 'Fonts' folder, which should be in the same directory as the UXML file. If you experience any other troubles - do not hesitate to reach us, we will be right here to help you!