[go: up one dir, main page]

Skip to content

You can automatically update FontAsset when the character you want to include in FontAsset of TextMesh Pro is changed.

License

Notifications You must be signed in to change notification settings

baba-s/TMP_FontAssetUpdater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TMP_FontAssetUpdater

You can automatically update FontAsset when the character you want to include in FontAsset of TextMesh Pro is changed.

Features

  • Support for Material Preset
  • Mass update of multiple Font Asset
  • Manual update is also possible

Version

  • Unity 2018.3.0f2
  • TextMesh Pro 1.3.0

Example

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.

How To Use

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.

Acknowledgments

This repository uses the code of the following repository.

Example of this repository use the following free fonts.

About

You can automatically update FontAsset when the character you want to include in FontAsset of TextMesh Pro is changed.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published