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
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
Library distributed as git package (How to install package from git URL)
Git URL: https://github.com/codewriter-packages/TMP-Image.git
TMP-Image is MIT licensed.