TMP Image
Script for drawing sprite from Text Mesh Pro atlases in UGUI
com.codewriter.tmp-image 
Install via UPM
Add to Unity Package Manager using this URL
https://www.pkglnk.dev/tmp-image.git README Markdown
Copy this to your project's README.md
## Installation
Add **TMP Image** 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/tmp-image.git
```
[](https://www.pkglnk.dev/pkg/tmp-image)README
TMP-Image

:thought_balloon: Motivation
I like the way to use sprites in the Text Mesh Pro by their name (e.g. <sprite name=Gold>). It would be very nice to be able to draw exactly the same sprites from the same atlases directly in UGUI. So I made a TMPImage - replacement for Image that able to do it
:rocket: How to use?
Just add a TMP Image component to the GameObject and specify the sprite name, and sprite will be fetched from Text Mesh Pro and displayed. Simple
:open_book: How to Install
Library distributed as git package (How to install package from git URL)
Git URL: https://github.com/codewriter-packages/TMP-Image.git
:green_book: License
TMP-Image is MIT licensed.
Comments
No comments yet. Be the first!
Sign in to join the conversation
Sign In