You can automatically update FontAsset when the character you want to include in FontAsset of TextMesh Pro is changed.
- Support for Material Preset
- Mass update of multiple Font Asset
- Manual update is also possible
- Unity 2018.3.0f2
- TextMesh Pro 1.3.0
By writing the character you want to include in FontAsset of TextMesh Pro in .txt and saving it.
FontAsset is automatically updated to include only the characters listed in that .txt.
Even if you are using Material Preset, it will update properly.
It is also possible to automatically update multiple FontAsset at once.
You can also disable automatic updating function and update manually.
Select "Create> TMP_Font Asset Updater Settings" in Project view.
A file for managing update rules of FontAsset is generated.
Set FontAsset to be updated, original font data, .txt describing the character to include in FontAsset in each item.
By pressing the "Update" button at the end, FontAsset is updated to include only the characters described in .txt.
If "Is Auto Update" is checked, FontAsset will be automatically updated at the time of change in .txt.
When updating of FontAsset is completed, the result is output to the Console window.
You can check Missing Characters.
Material Preset file name must be named using underbar.
Material Preset that is not using underbar will not be eligible for updating.
This repository uses the code of the following repository.
Example of this repository use the following free fonts.