Son1kXDev / replacefontunity

A simple Unity Tool that allow you to easily replace the font of text components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace Font Plugin

This plugin allows you to replace the font in Text and TextMeshProUGUI components in your project, scene or prefab with a single font.

Installation

To install the plugin, simply download and import the ReplaceFontTool.unitypackage into your project.

Usage

The plugin provides several methods to replace the font in your project:

Replace the Font in Specific components

This method replaces the font in specific Text or TextMeshProUGUI components.

To use this method, go to Tools > Project > Replace Font in the Unity Editor. A window will appear, allowing you to select the font you want to use. First select the font type on Type enum. Next select the font you want to use. Click on Find place enum and select Specified. Add all components where you need to replace the font to Specified Objects list. Click the Replace button.

image image

After all process you can click the Clear button to remove all items from Specified Objects list.

Replace Font in Scene

This method replaces the font in all Text or TextMeshProUGUI components in the current scene.

To use this method, go to Tools > Project > Replace Font in the Unity Editor. A window will appear, allowing you to select the font you want to use. First select the font type on Type enum. Next select the font you want to use. Click on Find place enum and select Current scene. Click the Replace button.

image image

Replace Font in Prefab

This method replaces the font in all Text or TextMeshProUGUI components in all prefabs in your project.

To use this method, go to Tools > Project > Replace Font in the Unity Editor. A window will appear, allowing you to select the font you want to use. First select the font type on Type enum. Next select the font you want to use. Click on Find place enum and select Prefabs. Click the Replace button.

image image

Replace Font in Project

This method replaces the font in all Text or TextMeshProUGUI components in all scenes and prefabs in your project.

To use this method, go to Tools > Project > Replace Font in the Unity Editor. A window will appear, allowing you to select the font you want to use. First select the font type on Type enum. Next select the font you want to use. Click on Find place enum and select All files in project. Click the Replace button.

image image

Notes

  • This plugin only replaces the font in Text and TextMeshProUGUI components. It does not replace the font in other components that use fonts, such as SpriteText.
  • This plugin does not create a backup of your project before making changes. Please make sure to back up your project before using this plugin.
  • This plugin does not support multiple fonts. You can only replace all Text and TextMeshProUGUI components with a single font at a time.

About

A simple Unity Tool that allow you to easily replace the font of text components

License:MIT License


Languages

Language:C# 100.0%