https://github.com/codewriter-packages/tmp-image
Script for drawing sprite from Text Mesh Pro atlases in UGUI
https://github.com/codewriter-packages/tmp-image
component textmeshpro ugui ui unity unity3d
Last synced: 10 months ago
JSON representation
Script for drawing sprite from Text Mesh Pro atlases in UGUI
- Host: GitHub
- URL: https://github.com/codewriter-packages/tmp-image
- Owner: codewriter-packages
- License: mit
- Created: 2024-10-20T17:43:12.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-19T08:39:05.000Z (about 1 year ago)
- Last Synced: 2025-07-23T16:52:24.709Z (11 months ago)
- Topics: component, textmeshpro, ugui, ui, unity, unity3d
- Language: C#
- Homepage:
- Size: 12.7 KB
- Stars: 28
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# TMP-Image [](#) [](#) 
## :thought_balloon: Motivation
I like the way to use sprites in the [Text Mesh Pro](https://docs.unity3d.com/Packages/com.unity.ugui@2.0) by their name (e.g. ``). 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](https://docs.unity3d.com/Manual/upm-ui-giturl.html))
Git URL: `https://github.com/codewriter-packages/TMP-Image.git`
## :green_book: License
TMP-Image is [MIT licensed](./LICENSE.md).