I’m trying to customize a button appearance. I’m using “Sprite Swap” as Transition. I have 2 images for normal and pressed state. In the attached video there are 2 buttons. The text of the left one is embedded in the image. The text of the right one is the Text component of the button. The left button looks pretty good but if the text changes I have to re-render the image, which isn’t posssible at runtime. The problem with the right one is, the position of the text doesn’t change accordingly when the button is clicked.
So, what can I do to adjust the text position when using “Sprite Swap” ?
Or, what other technics should I use?
jqq6nt