Hello everyone, I am using a dynamic font, but Best Fit is not checked and pixel perfect is unchecked as well. When my character 1st shoots an enemy combat text gets displayed and there is a HUGE lag spike. Any idea how to remedy this performance problem?
1 Answer
1Check out these solutions. Some of them are:
- Use static font.
- Set Rendering Type to OS Default
- Uncheck ‘Incl. Font Data’ on the font file
- Write this in Update():
-
font.RequestCharactersInTexture(fontGlyphsString);string fontGlyphsString = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()-_+=~`[]{}|\\:;\"'<>,.?/ ";
