Skip to content

Script for drawing sprite from Text Mesh Pro atlases in UGUI

License

Notifications You must be signed in to change notification settings

codewriter-packages/TMP-Image

Folders and files

NameName
Last commit message
Last commit date
Oct 20, 2024
Mar 20, 2025
Oct 20, 2024
Oct 20, 2024
Oct 20, 2024
Oct 20, 2024
Oct 20, 2024
Oct 20, 2024
Oct 20, 2024
Oct 20, 2024
Oct 20, 2024
Oct 20, 2024

Repository files navigation

TMP-Image Github license Unity 2021.3 GitHub package.json version

πŸ’­ 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

πŸš€ 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

πŸ“– 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

πŸ“— License

TMP-Image is MIT licensed.