Unity Rich Text
Easily apply rich text formatting to variables in Debug.Log and UI elements like GUIStyle or TextMeshPro. Chain multiple formatting tags (color, bold, italics, etc.) with a simple fluent API. Ideal for development and debugging workflows, though not recommended for production due to garbage allocation.
com.skibitsky.unity-rich-text 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/unity-rich-text.git README Markdown
Copy this to your project's README.md
## Installation
Add **Unity Rich Text** to your Unity project via Package Manager:
1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/unity-rich-text.git
```
[](https://www.pkglnk.dev/pkg/unity-rich-text)README
This package has been deprecated in favour of string-formatter
Unity Rich Text 
Unity Rich Text allows you easily highlight any variable when using Debug.Log or any other place that supports rich text (i.e. GUIStyle or TextMeshPro).

It makes very easy to apply a few rich text tags at once.
Note that it creates a lot of garbage hence I don't recommend to use it in production.
Installation
Install via OpenUPM
The package is available on the openupm registry. It's recommended to install it via openupm-cli.
openupm add com.skibitsky.unity-rich-text
Install via Git URL
Open Packages/manifest.json with your favorite text editor. Add the following line to the dependencies block.
{
"dependencies": {
"com.skibitsky.unity-rich-text": "https://github.com/skibitsky/unity-rich-text.git"
}
}
Notice: Unity Package Manager records the current commit to a lock entry of the manifest.json. To update to the latest version, change the hash value manually or remove the lock entry to resolve the package.
"lock": {
"com.skibitsky.unity-rich-text": {
"revision": "master",
"hash": "..."
}
}
Usage
Debug.Log(17.Red().Bold()):
No comments yet. Be the first!