https://github.com/akof1314/unity-textmeshpro-dynamictext
Unity TextMeshPro DynamicText 动态文本组件
https://github.com/akof1314/unity-textmeshpro-dynamictext
Last synced: about 2 months ago
JSON representation
Unity TextMeshPro DynamicText 动态文本组件
- Host: GitHub
- URL: https://github.com/akof1314/unity-textmeshpro-dynamictext
- Owner: akof1314
- Created: 2019-11-30T03:07:38.000Z (over 5 years ago)
- Default Branch: 1.5.x
- Last Pushed: 2020-08-05T03:32:24.000Z (almost 5 years ago)
- Last Synced: 2025-03-23T22:14:02.475Z (2 months ago)
- Language: C#
- Homepage:
- Size: 11.4 MB
- Stars: 52
- Watchers: 5
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unity-TextMeshPro-DynamicManager
TextMeshPro DynamicManager 动态文本管理## 原理
基于`TextMeshPro`1.5.x 版本,注册需要检查的字体图集,在切场景的时候调用检查动态图集纹理数量,大于一定数量时清除重置,防止纹理数越来越多。
## 使用场景
适用于静态字体 + 动态字体结合使用

## 静态方法
- TMP_DynamicManager.RegisterFontAssetDynamic(text)
- TMP_DynamicManager.CheckFontAssetDynamic();## 源码地址
GitHub:[https://github.com/akof1314/Unity-TextMeshPro-DynamicText](https://github.com/akof1314/Unity-TextMeshPro-DynamicText)