Reputation: 67
I'm developing project in unity and recently put speed indicator in UI text
, but I also want to put background in text area
. What do I have to do to put background texture in text UI
?
Upvotes: 0
Views: 424
Reputation: 700
Create a UI image GameObject underneath the canvas GameObject. Then move the UI text you created so that it's a child of the image GameObject.
Upvotes: 1
Reputation: 5897
Create yourself a panel with a gui image attached to it, then simple attach a gui text also to the gameobject, then you can simply change the panel size and image and it won't affect the text.
Upvotes: 2