- Home /
Question by
Koyemsi · May 08 at 11:27 AM ·
spritetextbackground
Background sprite in TextMeshPro
Hi,
Is there any way to use a sprite as background for part of a text in TextMeshPro ?
Something similar to the background-image property in CSS styling.
Tried messing with the TMP styles, and also with the < pos> tag. Problem is, the sprite is rendered above the text.
Here is an example of what I'd like to obtain (the 5 should be editable text, only the blue badge being the sprite) :
sprite-exemple.png
(10.2 kB)
Comment
Your answer
Follow this Question
Related Questions
How would you create this background effect 1 Answer
Display UI Text on a 2D Sprite 1 Answer
Best way of using sprites as text 0 Answers
Best practices for large background image on mobile? 0 Answers