Search Unity

TextMesh Pro Button problem

Discussion in 'UGUI & TextMesh Pro' started by Leandre5, Jun 26, 2021.

  1. Leandre5

    Leandre5

    Joined:
    Nov 1, 2017
    Posts:
    42
    Hello everyone,
    I am currently creating a game and I need buttons for the creation. I have chosen some 3D buttons as you can see below in the attached files.

    To give this effect I am using two button sprites that are both the same size, but the second one with nothing on top so that it gives the expected effect.

    The problem I have is that I would like to be able to change the text inside the buttons. But I can't find a way to make the text that is attached to the button follow it when it goes down but also when it goes up.

    If you know a way to do what I'm looking for, I'd love to hear from you.
     

    Attached Files: