Fix UIButton.cpp added TTFFont.
fix move this enum class to private part and change `Type` to `FontType`.
Merge pull request #7106 from dabingnn/v3SmallerTexture

use a small texture for sprite3D
Merge pull request #7068 from kyokomi/UIButton_ttfFont

Fix UIButton.cpp added TTFFont.